author | Darkvater |
Sat, 26 Aug 2006 20:54:30 +0000 | |
changeset 4405 | 262b9ef8ab8f |
parent 3170 | dbbfd7a735ae |
child 5450 | 0383a6fb579a |
permissions | -rw-r--r-- |
285 | 1 |
#! /bin/sh |
2 |
# postinst script for openttd |
|
3 |
# |
|
4 |
# see: dh_installdeb(1) |
|
5 |
||
6 |
set -e |
|
7 |
||
3170
dbbfd7a735ae
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
285
diff
changeset
|
8 |
|
285 | 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 |
||
3170
dbbfd7a735ae
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
285
diff
changeset
|
21 |
. /usr/share/debconf/confmodule |
dbbfd7a735ae
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
285
diff
changeset
|
22 |
|
285 | 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# |
|
41 |
||
42 |
exit 0 |
|
43 |
||
44 |