diff options
Diffstat (limited to 'autoscripts/postinst-emacsen')
-rw-r--r-- | autoscripts/postinst-emacsen | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen index 82ce9576..0d3fd133 100644 --- a/autoscripts/postinst-emacsen +++ b/autoscripts/postinst-emacsen @@ -1,4 +1,5 @@ -if [ "$1" = "configure" ] && [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common -a -x /usr/lib/emacsen-common/emacs-package-install ] -then - /usr/lib/emacsen-common/emacs-package-install --postinst #PACKAGE# +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then + if [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common -a -x /usr/lib/emacsen-common/emacs-package-install ] ; then + /usr/lib/emacsen-common/emacs-package-install --postinst #PACKAGE# + fi fi |