File: postrm

package info (click to toggle)
crywrap 0.2.1-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 784 kB
  • ctags: 241
  • sloc: sh: 2,751; ansic: 1,979; makefile: 166
file content (14 lines) | stat: -rw-r--r-- 256 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
## arch-tag: fe2c145c-c499-44d8-a15b-aa84329a4594

set -e

if [ "$1" = "purge" ] ; then
	update-rc.d crywrap remove >/dev/null
	rm -rf /etc/crywrap

	deluser crywrap >/dev/null
	if getent group crywrap; then
		delgroup crywrap >/dev/null
	fi
fi