1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/print/xdvi/pkg-deinstall
Jean-Marc Zucconi f53d67c7e8 Warn and request confirmation for installing/removing the package. One file
may also be used by dvips; the package is build with some defaults, which
may be not wanted by the user (the port IS_INTERACTIVE)
1995-04-22 00:14:30 +00:00

22 lines
368 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
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
exit 0