unmerge 156398
user d...@packages.debian.org
usertags 156398 - symlink
usertags 156398 + u-a
thanks

It seems that merging this bug with #312846 was not quite correct, they
have little to do with each other.  I also suggest that the bug should
be closed; the e3 version in Woody had buggy maintainer scripts
(attached) that registered /usr/bin/e3em as emacs alternative but
removed /bin/e3em instead of /usr/bin/e3em.

Sven

#!/bin/sh 

set -e

if [ "$1" = "configure" -o "$1" = "abort-upgrade" ] ; then

    update-alternatives --install /usr/bin/editor editor /usr/bin/e3em 10 \
        --slave /usr/share/man/man1/editor.1.gz editor.1.gz \
                /usr/share/man/man1/e3em.1.gz
    update-alternatives --install /usr/bin/emacs emacs /usr/bin/e3em 10 \
        --slave /usr/share/man/man1/emacs.1.gz emacs.1.gz \
                /usr/share/man/man1/e3em.1.gz
    update-alternatives --install /usr/bin/vi vi /usr/bin/e3vi 10 \
        --slave /usr/share/man/man1/vi.1.gz vi.1.gz \
                /usr/share/man/man1/e3vi.1.gz
fi

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
        if [ -d /usr/doc -a ! -e /usr/doc/e3 -a -d /usr/share/doc/e3 ]; then
                ln -sf ../share/doc/e3 /usr/doc/e3
        fi
fi
# End automatically added section
# Automatically added by dh_installmenu
if [ "$1" = "configure" -a -x /usr/bin/update-menus ]; then update-menus ; fi
# End automatically added section


#!/bin/sh
#

set -e

if [ $1 != "upgrade" ]; then
  update-alternatives --quiet --remove editor /bin/e3em
  update-alternatives --quiet --remove vi /bin/e3vi
  update-alternatives --quiet --remove emacs /bin/e3em
fi

# Automatically added by dh_installdocs
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/e3 ]; then
        rm -f /usr/doc/e3
fi
# End automatically added section


Reply via email to