File: postrm

package info (click to toggle)
thttpd 2.23beta1-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 684 kB
  • ctags: 679
  • sloc: ansic: 7,908; sh: 1,871; makefile: 310
file content (20 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

case "$1" in
	remove)
	    ;;
	purge)
		if [ -e /usr/share/debconf/confmodule ]; then
		    . /usr/share/debconf/confmodule
		    db_purge thttpd
		    echo "Purging debconf entries..."
		fi
		echo "Purging init entries..."
		update-rc.d -f thttpd remove > /dev/null
		echo "Purging logfiles .."
		rm -rf /var/log/thttpd
		;;
	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
		;;
esac