fba33ace3c764199034fc3f728d9264395335f78
[clsql.git] / debian / preinst.template
1 #!/bin/bash
2 # This is part of clsql program: 
3 #    http://clsql.med-info.com
4 #
5 # Copyright (c) 2002 Kevin M. Rosenberg
6
7 pkg=%%
8
9 case "$1" in
10     install|upgrade|abort-upgrade)
11         rm -rf /usr/share/common-lisp-source/${pkg}
12         rm -rf /usr/share/common-lisp-source/${pkg}-[0-9\.]+
13
14         ;;
15     *)
16         echo "preinst called with unknown argument '$1'" >&2
17         ;;
18 esac
19
20 #DEBHELPER#
21
22 exit 0