mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
a3fce4f107
version, imported with suffix "2". Required for platex2e (coming soon). Submitted by: ohmon@sfc.keio.ac.jp
20 lines
489 B
Bash
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
|