File: postrm

package info (click to toggle)
fwctl 0.25-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 988 kB
  • ctags: 327
  • sloc: perl: 5,042; sh: 98; makefile: 57
file content (13 lines) | stat: -rw-r--r-- 243 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

set -e

if [ "$1" = "purge" ]
then
  update-rc.d fwctl remove >/dev/null
  echo "Please remove /var/log/fwctl_acct manually!"
fi

if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/fwctl ]; then
	rm -f /usr/doc/fwctl
fi