X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fprerm;fp=debian%2Fprerm;h=2603546e2af725bfb0e950b65f2d0f52b58b603c;hb=c7bc011f355411986f238987a4f97c93f66818dc;hp=0000000000000000000000000000000000000000;hpb=95c39c23a9d9db5b42fbc784ac75557fb1eb1a60;p=xlunit.git diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..2603546 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,37 @@ +#! /bin/sh +set -e + +LISP_PKG=xlunit + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + /usr/sbin/unregister-common-lisp-source ${LISP_PKG} + ;; + 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 + +