install-eg.sh: updates for EG2.8
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 12 Mar 2015 17:42:25 +0000 (10:42 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 12 Mar 2015 17:46:13 +0000 (10:46 -0700)
    - do not specify dbd libs or install will fail
    - correct name of Apache 2.4 default site

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
deployment/install-eg.sh

index 3523293..211349e 100755 (executable)
@@ -44,7 +44,7 @@ cd ${BUILDDIR} && make -f Open-ILS/src/extras/Makefile.install ubuntu-trusty-dev
  
 # as DEFAULT_USER
 #suwrap "cd ${BUILDDIR} && autoreconf -i" ${DEFAULT_USER} # not required for release versions
-suwrap "cd ${BUILDDIR} && ./configure -C --prefix=${INSTALLDIR} --sysconfdir=${INSTALLDIR}/conf --with-opensrf-headers=${INSTALLDIR}/include/ --with-opensrf-libs=${INSTALLDIR}/lib/ --with-dbi=/usr/lib/dbd/" ${DEFAULT_USER}
+suwrap "cd ${BUILDDIR} && ./configure -C --prefix=${INSTALLDIR} --sysconfdir=${INSTALLDIR}/conf --with-opensrf-headers=${INSTALLDIR}/include/ --with-opensrf-libs=${INSTALLDIR}/lib/" ${DEFAULT_USER}
 suwrap "cd ${BUILDDIR} && make" ${DEFAULT_USER}
 suwrap "cd ${BUILDDIR}/build/i18n && make LOCALE=fr-CA install && make LOCALE=en-CA install" ${DEFAULT_USER}
  
@@ -60,7 +60,7 @@ do
   mv ${APACHEFILE} ${APACHEFILE}.bak
   cp ${SITKACONF}/files/${APACHEFILE}/${HOSTNAME} ${APACHEFILE}
 done
-a2dissite default
+a2dissite 000-default
 a2ensite eg.conf
 if [ ! -d "/etc/apache2/ssl" ]
 then