From 88a44c53e11799439f0678bb3976d16b2cb1ee94 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 12 Sep 1999 19:58:04 +0000 Subject: 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. --- autoscripts/prerm-emacsen | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'autoscripts/prerm-emacsen') 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 -- cgit v1.2.3