File: nas.postrm

package info (click to toggle)
nas 1.8-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,452 kB
  • ctags: 23,094
  • sloc: ansic: 54,190; makefile: 23,934; sh: 7,406; perl: 2,208; yacc: 244; cpp: 216; lex: 63
file content (19 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

case "$1" in
	remove|purge)

		# Remove links from rc?.d
		update-rc.d -f nas remove >/dev/null

		if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
		# Source debconf library.
			. /usr/share/debconf/confmodule
			# Remove my changes to the db.
			db_purge
		fi
		;;

	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
		;;
esac