X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fprerm;fp=debian%2Fprerm;h=4abbfb299f7bf04217a27ea07748e3b7cf73ca15;hb=15694e94b48c2d8c7f9598fa5fcdaf451b7931c6;hp=0000000000000000000000000000000000000000;hpb=a5621a5bf235313916f437a55d9998418ee26f5a;p=lml2.git diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..4abbfb2 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,38 @@ +#! /bin/sh +set -e + +# package name according to lisp +LISP_PKG=lml2 + +# 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 + +