#!/bin/sh

set -e

FLAVOR=emacs23
MAJOR=23
MINOR=4
FULL=23.4
ALTERNATIVES="b2m ctags ebrowse emacsclient etags grep-changelog rcs-checkin"

# update-alternatives on things that collide with xemacs, other editors
if [ "$1" != "upgrade" ]
then
  for i in ${ALTERNATIVES}
  do
    update-alternatives --remove $i /usr/bin/$i.${FLAVOR}
  done
fi



