diff options
author | ivan <ivan> | 2008-04-08 05:49:11 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-08 05:49:11 +0000 |
commit | 207515697bfcc93b03227ea0b581b15cf89b1fbc (patch) | |
tree | 5df0fb94a146394eed493c1f4406de60c95470bd /debian/prerm | |
parent | 6626dc2a13c809092aa539c5a72bc72a0c56afdc (diff) |
debian packages!
Diffstat (limited to 'debian/prerm')
-rw-r--r-- | debian/prerm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 000000000..4c1748936 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,46 @@ +#!/bin/sh +# prerm script for freeside +# +# see: dh_installdeb(1) + +set -e + +# source debconf stuff +. /usr/share/debconf/confmodule +# source dbconfig-common stuff +. /usr/share/dbconfig-common/dpkg/prerm +dbc_go freeside $@ + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + |