summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-emacsen
diff options
context:
space:
mode:
authorModestas Vainius <modax@debian.org>2013-11-03 14:28:43 +0200
committerModestas Vainius <modax@debian.org>2013-11-03 20:53:12 +0200
commit4d4cd67eff53dd8bba739d3f38e1ba38a9ba4f11 (patch)
tree03e71cc1d415ffd665c3381ee9b7659cdbf81d43 /autoscripts/postinst-emacsen
parent81cce9aebd34bfee91a217ed603f29fa29a5a998 (diff)
downloaddebhelper-4d4cd67eff53dd8bba739d3f38e1ba38a9ba4f11.tar.gz
Update dh_installemacsen for emacsen-common 2.0.
Update dh_installemacsen and related scripts to follow /usr/share/doc/emacsen-common/debian-emacs-policy.gz as of emacsen-common package version 2.0.5. The changes include: * Install debian/package.emacsen-compat into usr/lib/emacsen-common/packages/compat/package if present * All maintainer scripts test for existance of /var/lib/emacsen-common/state/package/installed/emacsen-common as mandated by policy. * Generate and install preinst maintainer script if needed.
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