summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-emacsen
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-emacsen')
-rw-r--r--autoscripts/postinst-emacsen4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen
index f80e1dbd..6a46d79f 100644
--- a/autoscripts/postinst-emacsen
+++ b/autoscripts/postinst-emacsen
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]
+if [ "$1" = "configure" ] && [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common ]
then
- /usr/lib/emacsen-common/emacs-package-install #PACKAGE#
+ /usr/lib/emacsen-common/emacs-package-install --postinst #PACKAGE#
fi