squeeze installer updates to match eg master
authorBill Erickson <berick@esilibrary.com>
Thu, 16 May 2013 19:03:46 +0000 (15:03 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 16 May 2013 19:03:46 +0000 (15:03 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
installer/squeeze/eg_squeeze_installer.sh

index 5c1b325..6d5e871 100755 (executable)
@@ -127,9 +127,12 @@ su - opensrf sh -c "$OSRF_COMMAND"
 cd /home/opensrf/OpenSRF;
 make install
 
+export PATH=/openils/bin:$PATH
+
 # Build and install the ILS
 OSRF_COMMAND='
 cd /home/opensrf/Evergreen;
+export PATH=/openils/bin:$PATH
 autoreconf -i;
 ./configure --prefix=/openils --sysconfdir=/openils/conf;
 make;'
@@ -159,7 +162,7 @@ su - postgres sh -c 'createuser -P -s evergreen;'
 
 # Apply the DB schema
 cd /home/opensrf/Evergreen
-perl Open-ILS/src/support-scripts/eg_db_config.pl \
+perl Open-ILS/src/support-scripts/eg_db_config \
     --create-database       \
     --create-schema         \
     --create-offline        \
@@ -175,7 +178,7 @@ perl Open-ILS/src/support-scripts/eg_db_config.pl \
 # Copy apache configs into place and create SSL cert
 cp Open-ILS/examples/apache/eg.conf       /etc/apache2/sites-available/
 cp Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/
-cp Open-ILS/examples/apache/startup.pl    /etc/apache2/
+cp Open-ILS/examples/apache/eg_startup    /etc/apache2/
 
 mkdir -p /etc/apache2/ssl;
 if [ ! -f /etc/apache2/ssl/server.key ] ; then