ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/setup
(Generate patch)

Comparing ermyth/setup (file contents):
Revision 1.2 by pippijn, Sat Jul 21 01:29:07 2007 UTC vs.
Revision 1.3 by pippijn, Tue Aug 28 17:08:06 2007 UTC

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
10PREFIX="$HOME/atheme" 10PREFIX="$HOME/atheme"
11LARGENET="no" 11LARGENET="no"
12NLS="yes" 12NLS="yes"
13SASL="yes" 13SASL="yes"
14VERSION=`grep AC_INIT configure.ac | awk '{print \$2}' | sed s:\,::g` 14VERSION=`grep AC_INIT configure.ac | awk '{print \$2}' | sed s:\,::g`
15
16if [ "x$PAGER" = "x" ]; then
17 PAGER="more"
18fi
15 19
16export ok INPUT 20export ok INPUT
17 21
18clear 22clear
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 ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines