… | |
… | |
3 | # Copyright © 2005 Atheme Development Group |
3 | # Copyright © 2005 Atheme Development Group |
4 | # Rights to this code are documented in doc/pod/license.pod. |
4 | # Rights to this code are documented in doc/pod/license.pod. |
5 | # |
5 | # |
6 | # This file is a simple setup script. |
6 | # This file is a simple setup script. |
7 | # |
7 | # |
8 | # $Id: setup,v 1.2 2007/07/21 01:29:07 pippijn Exp $ |
8 | # $Id: setup,v 1.3 2007/08/28 17:08:06 pippijn Exp $ |
9 | |
9 | |
10 | PREFIX="$HOME/atheme" |
10 | PREFIX="$HOME/atheme" |
11 | LARGENET="no" |
11 | LARGENET="no" |
12 | NLS="yes" |
12 | NLS="yes" |
13 | SASL="yes" |
13 | SASL="yes" |
14 | VERSION=`grep AC_INIT configure.ac | awk '{print \$2}' | sed s:\,::g` |
14 | VERSION=`grep AC_INIT configure.ac | awk '{print \$2}' | sed s:\,::g` |
|
|
15 | |
|
|
16 | if [ "x$PAGER" = "x" ]; then |
|
|
17 | PAGER="more" |
|
|
18 | fi |
15 | |
19 | |
16 | export ok INPUT |
20 | export ok INPUT |
17 | |
21 | |
18 | clear |
22 | clear |
19 | |
23 | |
… | |
… | |
28 | while [ $ok -eq 0 ] ; do |
32 | while [ $ok -eq 0 ] ; do |
29 | echo -n "[Yes] " |
33 | echo -n "[Yes] " |
30 | if read INPUT ; then : ; else echo "" ; exit 1 ; fi |
34 | if read INPUT ; then : ; else echo "" ; exit 1 ; fi |
31 | if [ ! "$INPUT" ] ; then |
35 | if [ ! "$INPUT" ] ; then |
32 | echo "" |
36 | echo "" |
33 | more doc/RELEASE |
37 | $PAGER doc/RELEASE |
34 | echo "" |
38 | echo "" |
35 | echo "-----" |
39 | echo "-----" |
36 | ok=1 |
40 | ok=1 |
37 | fi |
41 | fi |
38 | case $INPUT in |
42 | case $INPUT in |
39 | [Yy]*) |
43 | [Yy]*) |
40 | echo "" |
44 | echo "" |
41 | more doc/RELEASE |
45 | $PAGER doc/RELEASE |
42 | ok=1 |
46 | ok=1 |
43 | ;; |
47 | ;; |
44 | [Nn]*) |
48 | [Nn]*) |
45 | ok=1 |
49 | ok=1 |
46 | ;; |
50 | ;; |