File: postrm

package info (click to toggle)
fbgetty 0.1.698-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,712 kB
  • ctags: 485
  • sloc: ansic: 6,725; sh: 3,272; makefile: 121; awk: 19
file content (17 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e
case "$1" in
	abort-install | abort-upgrade | upgrade | failed-upgrade )
		;;
	remove | disappear)
		id fbgetty > /dev/null 2>&1 && userdel fbgetty
		sg fbgetty -c true 2> /dev/null && groupdel fbgetty
		;;
	purge )
		;;
	*)
		echo "$0: incorrect arguments $*" >&2
		exit 1
		;;
esac

exit 0