1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/www/linux-opera/pkg-install

28 lines
328 B
Plaintext
Raw Normal View History

#!/bin/sh
case $2 in
PRE-INSTALL)
${PAGER:-more} share/doc/opera/LICENSE
echo
echo
echo -n 'Do you agree to the terms of the license? '
read answer
case ${answer} in
[Yy]|[Yy][Ee][Ss])
exit 0
;;
*)
exit 1
;;
esac
;;
POST-INSTALL)
exit 0
;;
*)
echo "Unexpected Argument $2!!!"
exit 1
;;
esac