File: rott.postinst

package info (click to toggle)
rott 1.1.2-1
  • links: PTS, VCS
  • area: contrib
  • in suites: wheezy
  • size: 4,396 kB
  • sloc: ansic: 96,903; asm: 742; objc: 177; makefile: 119; sh: 67
file content (23 lines) | stat: -rw-r--r-- 568 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
23
#!/bin/sh
set -e

case "$1" in
	abort-upgrade|configure)
		update-alternatives --quiet --install /usr/games/rott rott /usr/games/rott-shareware   30
		update-alternatives --quiet --install /usr/games/rott rott /usr/games/rott-commercial  20
		update-alternatives --quiet --install /usr/games/rott rott /usr/games/rott-superrott   20
		update-alternatives --quiet --install /usr/games/rott rott /usr/games/rott-sitelicense 20
	;;

	abort-remove|abort-deconfigure)
	;;

	*)
		echo "postinst called with unknown argument \`$1'" >&2
		exit 1
	;;
esac

#DEBHELPER#

exit 0