File: prerm

package info (click to toggle)
ipfwadm 2.3.0-4
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 176 kB
  • ctags: 234
  • sloc: ansic: 1,669; makefile: 58; sh: 30
file content (18 lines) | stat: -rw-r--r-- 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

case "$1" in
	remove|upgrade|deconfigure)
		update-alternatives --quiet --remove ipfwadm /sbin/ipfwadm.real
		update-alternatives --quiet --remove ipfw.4.gz \
			/usr/share/man/man4/ipfw_adm.4.gz

		;;
	failed-upgrade)
		;;
	*)
		echo "prerm called with unknown argument \"$1\"" >&2
		exit 1
		;;
esac

##DEBHELPER##