filename | debian/postinst.ex |
changeset | 519:ef9a7f176401 |
author | nkeynes |
date | Mon Feb 14 08:12:41 2011 +1000 (13 years ago) |
permissions | -rw-r--r-- |
last change | Add default read/write burst methods for IO regions. (There's almost certainly a bug somewhere if these are actually invoked, but try to do the right thing anyway rather than crashing) |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/debian/postinst.ex Mon Feb 14 08:12:41 2011 +10001.3 @@ -0,0 +1,41 @@1.4 +#!/bin/sh1.5 +# postinst script for lxdream1.6 +#1.7 +# see: dh_installdeb(1)1.8 +1.9 +set -e1.10 +1.11 +# summary of how this script can be called:1.12 +# * <postinst> `configure' <most-recently-configured-version>1.13 +# * <old-postinst> `abort-upgrade' <new version>1.14 +# * <conflictor's-postinst> `abort-remove' `in-favour' <package>1.15 +# <new-version>1.16 +# * <postinst> `abort-remove'1.17 +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'1.18 +# <failed-install-package> <version> `removing'1.19 +# <conflicting-package> <version>1.20 +# for details, see http://www.debian.org/doc/debian-policy/ or1.21 +# the debian-policy package1.22 +1.23 +1.24 +case "$1" in1.25 + configure)1.26 + ;;1.27 +1.28 + abort-upgrade|abort-remove|abort-deconfigure)1.29 + ;;1.30 +1.31 + *)1.32 + echo "postinst called with unknown argument \`$1'" >&21.33 + exit 11.34 + ;;1.35 +esac1.36 +1.37 +# dh_installdeb will replace this with shell code automatically1.38 +# generated by other debhelper scripts.1.39 +1.40 +#DEBHELPER#1.41 +1.42 +exit 01.43 +1.44 +
.