Search
lxdream.org :: lxdream/debian/prerm.ex
lxdream 0.9.1
released Jun 29
Download Now
filename debian/prerm.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
# prerm 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
#        * <prerm> `remove'
nkeynes@519
    10
#        * <old-prerm> `upgrade' <new-version>
nkeynes@519
    11
#        * <new-prerm> `failed-upgrade' <old-version>
nkeynes@519
    12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
nkeynes@519
    13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
nkeynes@519
    14
#          <package-being-installed> <version> `removing'
nkeynes@519
    15
#          <conflicting-package> <version>
nkeynes@519
    16
# for details, see http://www.debian.org/doc/debian-policy/ or
nkeynes@519
    17
# the debian-policy package
nkeynes@519
    18
nkeynes@519
    19
nkeynes@519
    20
case "$1" in
nkeynes@519
    21
    remove|upgrade|deconfigure)
nkeynes@519
    22
    ;;
nkeynes@519
    23
nkeynes@519
    24
    failed-upgrade)
nkeynes@519
    25
    ;;
nkeynes@519
    26
nkeynes@519
    27
    *)
nkeynes@519
    28
        echo "prerm called with unknown argument \`$1'" >&2
nkeynes@519
    29
        exit 1
nkeynes@519
    30
    ;;
nkeynes@519
    31
esac
nkeynes@519
    32
nkeynes@519
    33
# dh_installdeb will replace this with shell code automatically
nkeynes@519
    34
# generated by other debhelper scripts.
nkeynes@519
    35
nkeynes@519
    36
#DEBHELPER#
nkeynes@519
    37
nkeynes@519
    38
exit 0
nkeynes@519
    39
nkeynes@519
    40
.