reopen 730723 severity 730723 wishlist thanks Hi the maintainer,
On November 29, 2013 at 5:22AM +1100, user42 (at zip.com.au) wrote: > dh_installemacsen adds to a lisp add-on > > if [ "$1" = "configure" ] && [ -e > /var/lib/emacsen-common/state/package/installed/emacsen-common ] > then > /usr/lib/emacsen-common/emacs-package-install --postinst #PACKAGE# > > But for me this means the package does not byte compile on install > because I have no such file > /var/lib/emacsen-common/state/package/installed/emacsen-common. Could you please apply the attached patch to prevent this problem (and also allow emacsen-common 1.x)? Thanks, -- Tatsuya Kinoshita
diff --git a/autoscripts/postinst-emacsen b/autoscripts/postinst-emacsen index 6a46d79..82c05b7 100644 --- a/autoscripts/postinst-emacsen +++ b/autoscripts/postinst-emacsen @@ -1,4 +1,8 @@ if [ "$1" = "configure" ] && [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common ] then /usr/lib/emacsen-common/emacs-package-install --postinst #PACKAGE# +elif [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ] +then + # Fallback to emacsen-common 1.x + /usr/lib/emacsen-common/emacs-package-install #PACKAGE# fi diff --git a/autoscripts/prerm-emacsen b/autoscripts/prerm-emacsen index 31ecfaa..e8e35f0 100644 --- a/autoscripts/prerm-emacsen +++ b/autoscripts/prerm-emacsen @@ -1,3 +1,6 @@ if [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common ] ; then /usr/lib/emacsen-common/emacs-package-remove --prerm #PACKAGE# +elif [ -x /usr/lib/emacsen-common/emacs-package-remove ] ; then + # Fallback to emacsen-common 1.x + /usr/lib/emacsen-common/emacs-package-remove #PACKAGE# fi
pgpCr8QpFrYyY.pgp
Description: PGP signature