1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/ptex-base/pkg-req

20 lines
489 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ "$2" != "INSTALL" ]; then
exit 0
fi
echo "***********************************************************"
echo "* W a r n i n g *"
echo "* This port will overwrite the existing tex installation. *"
echo "***********************************************************"
echo -n "Is this ok? (y/n) ==> "
read ans;
case x"$ans" in
xy*|xY*)
return 0;
;;
*)
echo "Okay, I won't install it then....";
return 1;
;;
esac