freebsd-ports/japanese/ptex-base/pkg-req
Satoshi Asami a3fce4f107 New version of ptex. Since it's somewhat incompatible with the previous
version, imported with suffix "2".  Required for platex2e (coming soon).

Submitted by:	ohmon@sfc.keio.ac.jp
1995-11-15 10:16:10 +00:00

20 lines
489 B
Bash

#!/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