Dmitry Shmidt | 369994b | 2016-01-28 12:38:49 -0800 | [diff] [blame^] | 1 | __EOF__ |
2 | |||||
3 | if test $? != 0 | ||||
4 | then | ||||
5 | echo ERROR: Couldn\'t display license file 1>&2 | ||||
6 | exit 1 | ||||
7 | fi | ||||
8 | |||||
9 | echo | ||||
10 | |||||
11 | echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\ | ||||
12 | read typed | ||||
13 | |||||
14 | if test "$typed" != I\ ACCEPT | ||||
15 | then | ||||
16 | echo | ||||
17 | echo You didn\'t accept the license. Extraction aborted. | ||||
18 | exit 2 | ||||
19 | fi | ||||
20 | |||||
21 | echo | ||||
22 |