1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/print/xdvi/pkg-deinstall

23 lines
418 B
Bash

#!/bin/sh
prefix=/usr/local
cat << END
Installing xdvi will remove $prefix/MakeTeXPK. This file may be used by
dvips or other programs. If this is the case, you must make a backup of
this file now.
END
if [ -z ${PACKAGE_BUILDING} ]; then
echo -n "do you want to deinstall the package ? [y] "
read answ; if [ "$answ" = "" ]; then answ=y; fi
case $answ in
y*|Y*) break;;
*) exit 1;;
esac
fi
exit 0