#! /bin/sh

case "$1" in
  upgrade|remove)
	[ -L /usr/doc/elvis-tiny ] && rm -f /usr/doc/elvis-tiny
  ;;
esac

if [ "$1" = "remove" ]
then
	update-alternatives --remove vi /usr/bin/elvis-tiny
fi

exit 0
