1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#!/bin/sh
# This is part of the acl-installer program:
# http://b9.com/acl-installer.html
#
# Copyright (c) 2002 Kevin M. Rosenberg <kmr@debian.org>
#
# acl-installer is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License (version 2) as
# published by the Free Software Foundation.
#
# acl-installer is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have a copy of the GNU General Public License on your
# Debian system in the file /usr/share/common-licenses/GPL-2
set -e
pkg=%pkg%
impl=%impl%
clc_bin=/usr/lib/common-lisp/bin/${impl}.sh
case "$1" in
configure)
if [ -x $clc_bin ]; then
/usr/sbin/register-common-lisp-implementation $impl
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
if [ -x $clc_bin ]; then
/usr/sbin/unregister-common-lisp-implementation $impl
fi
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
#DEBHELPER#
exit 0
|