diff options
author | joey <joey> | 1999-09-12 19:58:04 +0000 |
---|---|---|
committer | joey <joey> | 1999-09-12 19:58:04 +0000 |
commit | 88a44c53e11799439f0678bb3976d16b2cb1ee94 (patch) | |
tree | af07f6ca76893bbe171090bc6ad08fb9cecadb3c /autoscripts | |
parent | ea9cd2904a9d7a1c677c2f37486750c803f0e16c (diff) |
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.
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/postinst-emacsen | 4 | ||||
-rw-r--r-- | autoscripts/prerm-emacsen | 4 |
2 files changed, 6 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 |