X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=a6ea28d2cc6c0092fccc70dd163869536f8c4b70;hb=15694e94b48c2d8c7f9598fa5fcdaf451b7931c6;hp=0000000000000000000000000000000000000000;hpb=a5621a5bf235313916f437a55d9998418ee26f5a;p=lml2.git diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..a6ea28d --- /dev/null +++ b/debian/postinst @@ -0,0 +1,47 @@ +#! /bin/sh +set -e + +LISP_PKG=lml2 + +# 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 + +