diff options
author | Modestas Vainius <modax@debian.org> | 2013-11-03 14:28:43 +0200 |
---|---|---|
committer | Modestas Vainius <modax@debian.org> | 2013-11-03 20:53:12 +0200 |
commit | 4d4cd67eff53dd8bba739d3f38e1ba38a9ba4f11 (patch) | |
tree | 03e71cc1d415ffd665c3381ee9b7659cdbf81d43 /autoscripts/prerm-emacsen | |
parent | 81cce9aebd34bfee91a217ed603f29fa29a5a998 (diff) |
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/prerm-emacsen')
-rw-r--r-- | autoscripts/prerm-emacsen | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/prerm-emacsen b/autoscripts/prerm-emacsen index 8c3ca64c..31ecfaa4 100644 --- a/autoscripts/prerm-emacsen +++ b/autoscripts/prerm-emacsen @@ -1,3 +1,3 @@ -if [ -x /usr/lib/emacsen-common/emacs-package-remove ] ; then - /usr/lib/emacsen-common/emacs-package-remove #PACKAGE# +if [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common ] ; then + /usr/lib/emacsen-common/emacs-package-remove --prerm #PACKAGE# fi |