equal
deleted
inserted
replaced
1 #! /bin/sh |
1 #! /bin/sh |
2 # postinst script for openttd |
|
3 # |
|
4 # see: dh_installdeb(1) |
|
5 |
2 |
6 set -e |
3 set -e |
7 |
4 |
8 |
5 |
9 # summary of how this script can be called: |
|
10 # * <postinst> `configure' <most-recently-configured-version> |
|
11 # * <old-postinst> `abort-upgrade' <new version> |
|
12 # * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
|
13 # <new-version> |
|
14 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
|
15 # <failed-install-package> <version> `removing' |
|
16 # <conflicting-package> <version> |
|
17 # for details, see http://www.debian.org/doc/debian-policy/ or |
|
18 # the debian-policy package |
|
19 # |
|
20 |
|
21 . /usr/share/debconf/confmodule |
6 . /usr/share/debconf/confmodule |
22 |
7 |
23 case "$1" in |
|
24 configure) |
|
25 ;; |
|
26 |
|
27 abort-upgrade|abort-remove|abort-deconfigure) |
|
28 |
|
29 ;; |
|
30 |
|
31 *) |
|
32 echo "postinst called with unknown argument \`$1'" >&2 |
|
33 exit 1 |
|
34 ;; |
|
35 esac |
|
36 |
|
37 # dh_installdeb will replace this with shell code automatically |
|
38 # generated by other debhelper scripts. |
|
39 |
|
40 #DEBHELPER# |
8 #DEBHELPER# |
41 |
|
42 exit 0 |
|
43 |
|
44 |
|