Search
lxdream.org :: lxdream/debian/preinst.ex :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename debian/preinst.ex
changeset 519:ef9a7f176401
author nkeynes
date Thu Nov 15 12:10:08 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Add initial debian control files
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/preinst.ex Thu Nov 15 12:10:08 2007 +0000
1.3 @@ -0,0 +1,37 @@
1.4 +#!/bin/sh
1.5 +# preinst script for lxdream
1.6 +#
1.7 +# see: dh_installdeb(1)
1.8 +
1.9 +set -e
1.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/ or
1.17 +# the debian-policy package
1.18 +
1.19 +
1.20 +case "$1" in
1.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'" >&2
1.29 + exit 1
1.30 + ;;
1.31 +esac
1.32 +
1.33 +# dh_installdeb will replace this with shell code automatically
1.34 +# generated by other debhelper scripts.
1.35 +
1.36 +#DEBHELPER#
1.37 +
1.38 +exit 0
1.39 +
1.40 +
.