X-Git-Url: http://git.kpe.io/?p=xmlutils.git;a=blobdiff_plain;f=debian%2Fprerm;fp=debian%2Fprerm;h=174cc5fb4ad93f9ef655ccd9eab9918b195f97c4;hp=0000000000000000000000000000000000000000;hb=fdd9c09bc34d0a20ccccc1fa62bca82b74f56563;hpb=a1d0f28e9281bfc2d70b43b62e178f3d0da1114b diff --git a/debian/prerm b/debian/prerm new file mode 100755 index 0000000..174cc5f --- /dev/null +++ b/debian/prerm @@ -0,0 +1,42 @@ +#! /bin/sh +# prerm script for cl-xmlutils +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=xmlutils + +# 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 + +