
PATH=`pwd`/tmp:$PATH export PATH

trap 'echo "\n\nInterrupted";
      echo "============ Interrupted ================" >> errorlog;
      deinstall only;
      exit 4' 1 2 4 9 15

echo "Enter the current MultiView directory"
echo "  (default: /usr/mvw)"
getdir

deinstall all

if [ $? != 0 ]
   then
      exit 1
fi

rm -f errorlog

echo "\nDe-installation finished successfully."
