#! /bin/sh

if [ "$1" != "upgrade" ]
then
  update-alternatives --remove editor /usr/bin/nvi
  update-alternatives --remove ex /usr/bin/nex
  update-alternatives --remove vi /usr/bin/nvi
  update-alternatives --remove view /usr/bin/nview
fi



exit 0
