From: Kevin M. Rosenberg Date: Thu, 1 Aug 2002 21:48:12 +0000 (+0000) Subject: r2273: Autocommit for make-debian X-Git-Tag: v3.8.6~978 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=c9fd9ffa2911e702550d3c7cc2d84b8316cdf549 r2273: Autocommit for make-debian --- diff --git a/debian/postinst.template b/debian/postinst.template index 58e9698..be0cc16 100644 --- a/debian/postinst.template +++ b/debian/postinst.template @@ -1,28 +1,19 @@ -#! /bin/sh -# From UncommonSQL package +#!/bin/bash -e -set -e - -# package name according to lisp -LISP_PKG=%% +pkg=%% case "$1" in configure) - /usr/sbin/register-common-lisp-source ${LISP_PKG} + /usr/sbin/register-common-lisp-source ${pkg} ;; - abort-upgrade|abort-remove|abort-deconfigure) ;; - *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - #DEBHELPER# exit 0 diff --git a/debian/preinst.template b/debian/preinst.template index d8eb1f6..fba33ac 100755 --- a/debian/preinst.template +++ b/debian/preinst.template @@ -4,7 +4,7 @@ # # Copyright (c) 2002 Kevin M. Rosenberg -pkg:=%% +pkg=%% case "$1" in install|upgrade|abort-upgrade) diff --git a/debian/prerm.template b/debian/prerm.template index 0c45925..319026c 100644 --- a/debian/prerm.template +++ b/debian/prerm.template @@ -1,14 +1,10 @@ -#! /bin/sh -# From UncommonSQL package +#!/bin/bash -e -set -e - -# package name according to lisp -LISP_PKG=%% +pkg=%% case "$1" in remove|upgrade|deconfigure) - /usr/sbin/unregister-common-lisp-source ${LISP_PKG} + /usr/sbin/unregister-common-lisp-source ${pkg} ;; failed-upgrade) @@ -20,9 +16,6 @@ case "$1" in ;; esac -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - #DEBHELPER# exit 0