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