Version bump to eg 2.9.0
authorAndy Witter <awitter@georgialibraries.org>
Fri, 4 Sep 2015 14:54:20 +0000 (10:54 -0400)
committerAndy Witter <awitter@georgialibraries.org>
Fri, 4 Sep 2015 14:54:20 +0000 (10:54 -0400)
GenaSYS.sh

index 80a0fbc..f398f9d 100755 (executable)
@@ -26,7 +26,7 @@
    SYNOPSIS_="$NAME_"
    REQUIRES_="standard GNU commands, apt, dpkg"
     VERSION_="1.35"
-       DATE_="2010-09-23; last update: 2014-07-16"
+       DATE_="2010-09-23; last update: 2015-09-04"
      AUTHOR_="Andy Witter <awitter@georgialibraries.org>"
         URL_="http://evergreen-ils.org"
    CATEGORY_="devel"
@@ -53,7 +53,7 @@ done
 
 WD=$(dirname $(readlink -f $0))
 CUSTOMDIR="$WD/custom"
-EG_VERSION="2.6.2"
+EG_VERSION="2.9.0"
 UBUNTU_CODENAME="precise"
 LICENSE="$WD/License.txt"
 TEMPLATEDIR="$WD/templates"
@@ -1677,6 +1677,10 @@ NETCFGFILE="$OUTDIR/${CLUSTERDOMAINNAME}_network_config.txt"
 
 ## begin preparation of opensrf.xml
 cp $TEMPLATEDIR/opensrf.xml/opensrf.xml-header $TMPOPENSRF_XML
+if [ "$USE_HOSTNAME_PREFIX" = "y" ] || [ "$USE_HOSTNAME_PREFIX" = "Y" ]
+then
+       sed -i "s^<db>evergreen^<db>${PREFIX}_evergreen^g" $TMPOPENSRF_XML
+fi
 #sed -i "s^DatabasePassword^$DATABASE_PASSWORD^g" $TMPOPENSRF_XML
 sed -i "s^DatabasePassword^$(echo $DATABASE_PASSWORD | sed  -e 's^&^\\\&^g' -e 's/\^/\\\^/g')^g" $TMPOPENSRF_XML
 # the below line appears to not be doing anything