projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r2277: Autocommit for make-debian
[clsql.git]
/
debian
/
preinst.template
diff --git
a/debian/preinst.template
b/debian/preinst.template
index fba33ace3c764199034fc3f728d9264395335f78..b8f6c195b2d0a1f7b1d85319855162a2d80b6b5a 100755
(executable)
--- a/
debian/preinst.template
+++ b/
debian/preinst.template
@@
-5,11
+5,12
@@
# Copyright (c) 2002 Kevin M. Rosenberg
pkg=%%
# Copyright (c) 2002 Kevin M. Rosenberg
pkg=%%
+dir=/usr/share/common-lisp-source/source/$pkg
case "$1" in
install|upgrade|abort-upgrade)
case "$1" in
install|upgrade|abort-upgrade)
- rm -rf /usr/share/common-lisp-source/${pkg}
- rm -rf
/usr/share/common-lisp-source/${pkg
}-[0-9\.]+
+ test -h $dir && rm $dir
+ rm -rf
${dir
}-[0-9\.]+
;;
*)
;;
*)