projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14 Sep 2007 Kevin Rosenberg <kevin@rosenberg.net>
[clsql.git]
/
debian
/
preinst.template
diff --git
a/debian/preinst.template
b/debian/preinst.template
index e7b00520eac4a3cbbaf4aee7d4f12f9661e7786a..e0b5f37034e51b0c1fbbd77b952c1870eb80d203 100755
(executable)
--- a/
debian/preinst.template
+++ b/
debian/preinst.template
@@
-1,9
+1,11
@@
-#!/bin/
ba
sh
+#!/bin/sh
# This is part of clsql program:
# http://clsql.med-info.com
#
# Copyright (c) 2002 Kevin M. Rosenberg
# This is part of clsql program:
# http://clsql.med-info.com
#
# Copyright (c) 2002 Kevin M. Rosenberg
+set -e
+
pkg=%%
dir=/usr/share/common-lisp/source/$pkg
pkg=%%
dir=/usr/share/common-lisp/source/$pkg
@@
-11,7
+13,6
@@
case "$1" in
install|upgrade|abort-upgrade)
test -h $dir && rm $dir
rm -rf ${dir}-[0-9\.]*
install|upgrade|abort-upgrade)
test -h $dir && rm $dir
rm -rf ${dir}-[0-9\.]*
-
;;
*)
echo "preinst called with unknown argument '$1'" >&2
;;
*)
echo "preinst called with unknown argument '$1'" >&2