File: postrm

package info (click to toggle)
abuse 2.00-12
  • links: PTS
  • area: main
  • in suites: slink
  • size: 12,708 kB
  • ctags: 15,389
  • sloc: ansic: 115,852; cpp: 6,792; lisp: 2,066; sh: 1,734; makefile: 1,601; asm: 264
file content (22 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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
		echo "Cleaning out /usr/lib/games/abuse ..."
		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