File: postrm

package info (click to toggle)
abuse 2.00-22
  • links: PTS
  • area: main
  • in suites: potato
  • size: 12,716 kB
  • ctags: 15,389
  • sloc: ansic: 115,858; cpp: 6,792; lisp: 2,066; sh: 1,733; makefile: 1,612; asm: 264
file content (21 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -e

#DEBHELPER#

case "$1" in
  remove)
  ;;
  purge)
	# Old versions left junk lying around in here, which we need to
	# clean out now.
	if [ -d /usr/lib/games/abuse ] ; then
		rm -f /usr/lib/games/abuse/* || true
		rmdir /usr/lib/games/abuse || true
	fi
  ;;
  upgrade);;
  *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 0
  ;;
esac