X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fpreinst.template;h=e0b5f37034e51b0c1fbbd77b952c1870eb80d203;hb=5d0dbfd9dd1e08745109a18cce6a04750ffb7477;hp=e7b00520eac4a3cbbaf4aee7d4f12f9661e7786a;hpb=6b94f9667781589b9989602981d81413509319a5;p=clsql.git diff --git a/debian/preinst.template b/debian/preinst.template index e7b0052..e0b5f37 100755 --- a/debian/preinst.template +++ b/debian/preinst.template @@ -1,9 +1,11 @@ -#!/bin/bash +#!/bin/sh # 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 @@ -11,7 +13,6 @@ case "$1" in install|upgrade|abort-upgrade) test -h $dir && rm $dir rm -rf ${dir}-[0-9\.]* - ;; *) echo "preinst called with unknown argument '$1'" >&2