Changeset 4922
- Timestamp:
- 2003-07-15T12:38:41+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/Install.sh
r4575 r4922 1 1 #!/bin/sh 2 2 3 ## Install.sh -- Install the G atherer3 ## Install.sh -- Install the Greenstone Librarian Interface 4 4 5 5 … … 23 23 if [ ! -x "$java" ]; then 24 24 echo "Failed to locate Java. You must install a java runtime environment" 25 echo "(version 1.4 or greater) before installing the G atherer."25 echo "(version 1.4 or greater) before installing the Greenstone Librarian Interface." 26 26 exit 1 27 27 fi … … 40 40 if [ $jok -eq 0 ] ; then 41 41 echo "The version of the java runtime environment you have installed is too" 42 echo "old to run the G atherer. Please install a new version of the JRE (version"43 echo " 1.4 or newer) and rerun this installation."42 echo "old to run the Greenstone Librarian Interface. Please install a new version" 43 echo "of the JRE (version 1.4 or newer) and rerun this installation." 44 44 exit 1 45 45 fi … … 50 50 echo "perl: $perl" 51 51 if [ ! -x "$perl" ] ; then 52 echo "The Gatherer requires perl in order to operate but this installation" 53 echo "could not detect perl on your system. Please ensure that perl is installed" 54 echo "and is on your search path then rerun this installation script." 52 echo "The Greestone Librarian Interface requires perl in order to operate but" 53 echo "this installation could not detect perl on your system. Please ensure" 54 echo "that perl is installed and is on your search path, then rerun this" 55 echo "installation script." 55 56 exit 1 56 57 fi … … 80 81 if [ "$gsdlhome" != "" ] ; then 81 82 echo "A Greenstone installation has been detected at ${gsdlhome}." 82 echo "To use this Greenstone installation with the Gatherer hit enter." 83 echo "To use this Greenstone installation with the Greenstone Librarian Interface" 84 echo "hit enter." 83 85 echo "To use an alternative Greenstone installation enter the path to" 84 86 echo "that installation now and hit enter" … … 93 95 echo "enter. If you don't have Greenstone installed please exit this" 94 96 echo "installation script by hitting ctrl-c and install Greenstone before" 95 echo "installing the G atherer."97 echo "installing the Greenstone Librarian Interface." 96 98 printf "%s" "> " 97 99 read ans … … 122 124 librarypath=`echo "$librarypath" | sed 's|library$||'` 123 125 124 # finally, edit the G atherershell script125 sed "s|\*\*GSDLHOME\*\*|${gsdlhome}|" Gatherer > tmp123.txt && mv tmp123.txt Gatherer126 sed "s|\*\*LIBRARYPATH\*\*|${librarypath}|" Gatherer > tmp123.txt && mv tmp123.txt Gatherer126 # finally, edit the Greenstone Librarian Interface shell script 127 sed "s|\*\*GSDLHOME\*\*|${gsdlhome}|" gli.sh > tmp123.txt && mv tmp123.txt gli.sh 128 sed "s|\*\*LIBRARYPATH\*\*|${librarypath}|" gli.sh > tmp123.txt && mv tmp123.txt gli.sh 127 129 128 chmod u+x Gatherer130 chmod u+x gli.sh 129 131 130 132 echo "Greenstone Librarian Interface - Installation Complete!" 131 echo "Change to the directory 'gli' and run './ Gatherer' to start the application."133 echo "Change to the directory 'gli' and run './gli.sh' to start the application." 132 134 133 135 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.