#! /bin/sh

update-alternatives --install /usr/bin/editor editor /bin/ae 20 \
  --slave /usr/man/man1/editor.1.gz editor.1.gz /usr/man/man1/ae.1.gz

if [ -e /etc/ae2vi.rc ] ; then
   rm -f /etc/ae2vi.rc
fi

exit 0
