File: distcc.postrm

package info (click to toggle)
distcc 2.18.3-4.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,260 kB
  • ctags: 1,536
  • sloc: ansic: 12,829; sh: 3,490; python: 1,313; makefile: 506
file content (31 lines) | stat: -rw-r--r-- 533 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /bin/sh
set -e

conffile="/etc/default/distcc"
DISTCC_USER=distccd

case "$1" in
	purge)
		rm -f $conffile
		if id $DISTCC_USER > /dev/null 2>&1; then
			if [ -x "/usr/sbin/deluser" ]; then
				deluser --quiet --system $DISTCC_USER
			fi
		fi
	;;
	remove)
	;;
	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	;;
	*)
		echo "postrm called with unknown argument \`$1'" >&2
		exit 1
	;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0