summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-emacsen
diff options
context:
space:
mode:
authorjoey <joey>1999-09-12 19:58:04 +0000
committerjoey <joey>1999-09-12 19:58:04 +0000
commit88a44c53e11799439f0678bb3976d16b2cb1ee94 (patch)
treeaf07f6ca76893bbe171090bc6ad08fb9cecadb3c /autoscripts/prerm-emacsen
parentea9cd2904a9d7a1c677c2f37486750c803f0e16c (diff)
downloaddebhelper-88a44c53e11799439f0678bb3976d16b2cb1ee94.tar.gz
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/prerm-emacsen')
-rw-r--r--autoscripts/prerm-emacsen4
1 files changed, 3 insertions, 1 deletions
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