Search
lxdream.org :: lxdream/debian/preinst.ex
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
nkeynes@519
     1
#!/bin/sh
nkeynes@519
     2
# preinst script for lxdream
nkeynes@519
     3
#
nkeynes@519
     4
# see: dh_installdeb(1)
nkeynes@519
     5
nkeynes@519
     6
set -e
nkeynes@519
     7
nkeynes@519
     8
# summary of how this script can be called:
nkeynes@519
     9
#        * <new-preinst> `install'
nkeynes@519
    10
#        * <new-preinst> `install' <old-version>
nkeynes@519
    11
#        * <new-preinst> `upgrade' <old-version>
nkeynes@519
    12
#        * <old-preinst> `abort-upgrade' <new-version>
nkeynes@519
    13
# for details, see http://www.debian.org/doc/debian-policy/ or
nkeynes@519
    14
# the debian-policy package
nkeynes@519
    15
nkeynes@519
    16
nkeynes@519
    17
case "$1" in
nkeynes@519
    18
    install|upgrade)
nkeynes@519
    19
    ;;
nkeynes@519
    20
nkeynes@519
    21
    abort-upgrade)
nkeynes@519
    22
    ;;
nkeynes@519
    23
nkeynes@519
    24
    *)
nkeynes@519
    25
        echo "preinst called with unknown argument \`$1'" >&2
nkeynes@519
    26
        exit 1
nkeynes@519
    27
    ;;
nkeynes@519
    28
esac
nkeynes@519
    29
nkeynes@519
    30
# dh_installdeb will replace this with shell code automatically
nkeynes@519
    31
# generated by other debhelper scripts.
nkeynes@519
    32
nkeynes@519
    33
#DEBHELPER#
nkeynes@519
    34
nkeynes@519
    35
exit 0
nkeynes@519
    36
nkeynes@519
    37
.