From f375c254bef045414797dfb9bd55c6ddc7391659 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 6 Jul 2000 00:18:18 +0000 Subject: r353: * Modified all postinst script fragments to only run when called with "configure". I looked at the other possibilities, and I don't think any of the supported stuff should be called if the postist is called for error unwinds. Closes: #66673 * Implemented dh_clean -X, to allow specification of files to not delete, Closes: #66670 --- autoscripts/postinst-emacsen | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'autoscripts/postinst-emacsen') diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen index 48bf26e7..97004eb7 100644 --- a/autoscripts/postinst-emacsen +++ b/autoscripts/postinst-emacsen @@ -1,3 +1,4 @@ -if [ -x /usr/lib/emacsen-common/emacs-package-install ]; then +if [ "$1" = "configure" -a -x /usr/lib/emacsen-common/emacs-package-install ] +then /usr/lib/emacsen-common/emacs-package-install #PACKAGE# fi -- cgit v1.2.3