From: joey Date: Sun, 12 Sep 1999 19:58:04 +0000 (+0000) Subject: r274: * dh_installemacsen: the script fragments it generates now test for the X-Git-Tag: version_2.0.101~324 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=88a44c53e11799439f0678bb3976d16b2cb1ee94;p=debhelper.git r274: * dh_installemacsen: the script fragments it generates now test for the existance of emacs-package-install/remove before calling them. Though a strict reading of the emacsen policy indicates that such a test shouldn't be needed, there may be edge cases (cf bug 44924), where it is. --- diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen index 45f1dee..48bf26e 100644 --- a/autoscripts/postinst-emacsen +++ b/autoscripts/postinst-emacsen @@ -1 +1,3 @@ -/usr/lib/emacsen-common/emacs-package-install #PACKAGE# +if [ -x /usr/lib/emacsen-common/emacs-package-install ]; then + /usr/lib/emacsen-common/emacs-package-install #PACKAGE# +fi diff --git a/autoscripts/prerm-emacsen b/autoscripts/prerm-emacsen index d11dafa..8c3ca64 100644 --- a/autoscripts/prerm-emacsen +++ b/autoscripts/prerm-emacsen @@ -1 +1,3 @@ -/usr/lib/emacsen-common/emacs-package-remove #PACKAGE# +if [ -x /usr/lib/emacsen-common/emacs-package-remove ] ; then + /usr/lib/emacsen-common/emacs-package-remove #PACKAGE# +fi diff --git a/debian/changelog b/debian/changelog index c0e2b18..b17b043 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +debhelper (2.0.46) unstable; urgency=low + + * dh_installemacsen: the script fragments it generates now test for the + existance of emacs-package-install/remove before calling them. Though + a strict reading of the emacsen policy indicates that such a test + shouldn't be needed, there may be edge cases (cf bug 44924), where it + is. + + -- Joey Hess Sun, 12 Sep 1999 12:54:37 -0700 + debhelper (2.0.45) unstable; urgency=low * dh_installdocs.1: clarified how the doc-id is determined. Closes: #44864