X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=7e6ef7c198c3670e2b2b6be9038fd4281f171a3e;hb=fdd9c09bc34d0a20ccccc1fa62bca82b74f56563;hp=0000000000000000000000000000000000000000;hpb=a1d0f28e9281bfc2d70b43b62e178f3d0da1114b;p=xmlutils.git diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..7e6ef7c --- /dev/null +++ b/debian/postinst @@ -0,0 +1,46 @@ +#! /bin/sh +# postinst 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: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + /usr/sbin/register-common-lisp-source ${LISP_PKG} + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst 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