On Fri, Aug 17, 2018 at 4:35 PM, Dirk Eddelbuettel <e...@debian.org> wrote:
> Ack. Can you check if invoking emacsen-install differently, or updating it,
> would help?
>
> The postinst should still have
>
> 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 ess
>         fi
> fi

This is the complete contents of ess.postinst:

#!/bin/sh
set -e
# Automatically added by dh_installemacsen/10.10.8
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 ess
fi
# End automatically added section

> What happens when you run this, ie 'emacs-package-install --postinst ess' ?

I tried that.  It does some other unrelated stuff and then it runs
/usr/lib/emacsen-common/packages/install/ess with sole argument
"emacs", and that's where we came in.

zw

Reply via email to