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/preinst-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/preinst-emacsen')
-rw-r--r-- | autoscripts/preinst-emacsen | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoscripts/preinst-emacsen b/autoscripts/preinst-emacsen new file mode 100644 index 00000000..780fc697 --- /dev/null +++ b/autoscripts/preinst-emacsen @@ -0,0 +1,5 @@ +if ( [ "$1" = "install" ] || [ "$1" = "upgrade" ] ) \ + && [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common ] +then + /usr/lib/emacsen-common/emacs-package-install --preinst #PACKAGE# +fi |