X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=debian%2Fpreinst.template;h=e0b5f37034e51b0c1fbbd77b952c1870eb80d203;hp=e7b00520eac4a3cbbaf4aee7d4f12f9661e7786a;hb=eaaca94287230a65c80cc21effa5763520552fe4;hpb=d9b90caa2f0450deffff461b70294bc741faae7f 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