filename | debian/preinst.ex |
changeset | 519:ef9a7f176401 |
author | nkeynes |
date | Mon Jul 14 00:09:51 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Fix version number in configure.in Remove obsolete x86_64 AM conditional Add --disable-translator option for testing purposes |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/debian/preinst.ex Mon Jul 14 00:09:51 2008 +00001.3 @@ -0,0 +1,37 @@1.4 +#!/bin/sh1.5 +# preinst 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 +# * <new-preinst> `install'1.13 +# * <new-preinst> `install' <old-version>1.14 +# * <new-preinst> `upgrade' <old-version>1.15 +# * <old-preinst> `abort-upgrade' <new-version>1.16 +# for details, see http://www.debian.org/doc/debian-policy/ or1.17 +# the debian-policy package1.18 +1.19 +1.20 +case "$1" in1.21 + install|upgrade)1.22 + ;;1.23 +1.24 + abort-upgrade)1.25 + ;;1.26 +1.27 + *)1.28 + echo "preinst called with unknown argument \`$1'" >&21.29 + exit 11.30 + ;;1.31 +esac1.32 +1.33 +# dh_installdeb will replace this with shell code automatically1.34 +# generated by other debhelper scripts.1.35 +1.36 +#DEBHELPER#1.37 +1.38 +exit 01.39 +1.40 +
.