summaryrefslogtreecommitdiffstats
path: root/www/linux-opera/pkg-install
blob: 18e1ca019af28b019e523475f99df4de24e86723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/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

OpenPOWER on IntegriCloud