File: postrm

package info (click to toggle)
hddtemp 0.3-beta15-46
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,144 kB
  • ctags: 1,326
  • sloc: ansic: 10,600; sh: 4,485; makefile: 522; yacc: 288; perl: 19; sed: 16
file content (28 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (7)
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
#! /bin/sh
# postrm script for hddtemp
set -e

conffile="/etc/default/hddtemp"

case "$1" in
	purge)
		rm -f $conffile
        ;;
	remove)
		rm -f /usr/bin/hddtemp
		rm -f /usr/share/man/man1/hddtemp.1.gz
	;;
	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