diff options
-rw-r--r-- | autoscripts/postinst-emacsen | 4 | ||||
-rw-r--r-- | autoscripts/prerm-emacsen | 4 | ||||
-rw-r--r-- | debian/changelog | 10 |
3 files changed, 16 insertions, 2 deletions
diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen index 45f1deec..48bf26e7 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 d11dafab..8c3ca64c 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 c0e2b18f..b17b0436 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 <joeyh@master.debian.org> 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 |