X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fprerm.template;fp=debian%2Fprerm.template;h=0c459257455e07803ca6ffce11ce6e020285f76d;hb=5de01471c06704a60c66d674608e4c7cbd2776bb;hp=0000000000000000000000000000000000000000;hpb=bff42e25aef90305a6e779d4477859cf9918e653;p=clsql.git diff --git a/debian/prerm.template b/debian/prerm.template new file mode 100644 index 0000000..0c45925 --- /dev/null +++ b/debian/prerm.template @@ -0,0 +1,28 @@ +#! /bin/sh +# From UncommonSQL package + +set -e + +# package name according to lisp +LISP_PKG=%% + +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 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0