os/debian/postinst
changeset 3170 3740e285e4df
parent 285 cf5213c8a919
child 6168 91640fd48876
equal deleted inserted replaced
3169:3761fbfeb1d1 3170:3740e285e4df
     2 # postinst script for openttd
     2 # postinst script for openttd
     3 #
     3 #
     4 # see: dh_installdeb(1)
     4 # see: dh_installdeb(1)
     5 
     5 
     6 set -e
     6 set -e
       
     7 
     7 
     8 
     8 # summary of how this script can be called:
     9 # summary of how this script can be called:
     9 #        * <postinst> `configure' <most-recently-configured-version>
    10 #        * <postinst> `configure' <most-recently-configured-version>
    10 #        * <old-postinst> `abort-upgrade' <new version>
    11 #        * <old-postinst> `abort-upgrade' <new version>
    11 #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
    12 #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
    15 #          <conflicting-package> <version>
    16 #          <conflicting-package> <version>
    16 # for details, see http://www.debian.org/doc/debian-policy/ or
    17 # for details, see http://www.debian.org/doc/debian-policy/ or
    17 # the debian-policy package
    18 # the debian-policy package
    18 #
    19 #
    19 
    20 
       
    21 . /usr/share/debconf/confmodule
       
    22 
    20 case "$1" in
    23 case "$1" in
    21     configure)
    24     configure)
    22 	cat <<EOF
       
    23 Before running the game, you should copy the data files from the
       
    24 original TTD. See README.Debian for more details.
       
    25 EOF
       
    26     ;;
    25     ;;
    27 
    26 
    28     abort-upgrade|abort-remove|abort-deconfigure)
    27     abort-upgrade|abort-remove|abort-deconfigure)
    29 
    28 
    30     ;;
    29     ;;