summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-emacsen
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-emacsen')
-rw-r--r--autoscripts/postinst-emacsen3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen
index 48bf26e..97004eb 100644
--- a/autoscripts/postinst-emacsen
+++ b/autoscripts/postinst-emacsen
@@ -1,3 +1,4 @@
-if [ -x /usr/lib/emacsen-common/emacs-package-install ]; then
+if [ "$1" = "configure" -a -x /usr/lib/emacsen-common/emacs-package-install ]
+then
/usr/lib/emacsen-common/emacs-package-install #PACKAGE#
fi