author | matthijs |
Wed, 08 Mar 2006 23:12:38 +0000 | |
changeset 3170 | 3740e285e4df |
parent 285 | cf5213c8a919 |
child 6168 | 91640fd48876 |
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
3740e285e4df
(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
3740e285e4df
(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 |
3740e285e4df
(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 |