soften parent change to Lispworks-only, as it causes some problems for Clozure
[clsql/s11.git] / debian / preinst.template
blobe0b5f37034e51b0c1fbbd77b952c1870eb80d203
1 #!/bin/sh
2 # This is part of clsql program:
3 # http://clsql.med-info.com
5 # Copyright (c) 2002 Kevin M. Rosenberg
7 set -e
9 pkg=%%
10 dir=/usr/share/common-lisp/source/$pkg
12 case "$1" in
13 install|upgrade|abort-upgrade)
14 test -h $dir && rm $dir
15 rm -rf ${dir}-[0-9\.]*
18 echo "preinst called with unknown argument '$1'" >&2
20 esac
22 #DEBHELPER#
24 exit 0