Install legacy OverDrive API integration
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Sat, 15 Apr 2017 09:31:40 +0000 (02:31 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Sat, 15 Apr 2017 09:31:40 +0000 (02:31 -0700)
deployment/install-eg.sh

index 79d8b71..b5d01f8 100755 (executable)
@@ -301,11 +301,12 @@ if [ ! -e "${INSTALLDIR}/bin/update-offline-blocked-list.sh" ] ; then cp ${SITKA
 
 cp ${SITKACONF}/files${INSTALLDIR}/var/data/zips.txt/${HOSTNAME} ${INSTALLDIR}/var/data/zips.txt
 
-#cp -r ${SITKATOOLS}/overdrive-eg-opac/build/* ${INSTALLDIR}/var/web/js/ui/default/opac
-#ODAPI_LIBS="bc mb"
-#for ODAPI_LIB in ${ODAPI_LIBS} ; do
-#  cp ${SITKACONF}/files/${INSTALLDIR}/var/web/js/ui/default/opac/${ODAPI_LIB}/od_config.js ${INSTALLDIR}/var/web/js/ui/default/opac/${ODAPI_LIB}/od_config.js
-#done
+# install legacy OverDrive API integration
+cp -r ${SITKATOOLS}/overdrive-eg-opac/build/* ${INSTALLDIR}/var/web/js/ui/default/opac
+ODAPI_LIBS="bc mb"
+for ODAPI_LIB in ${ODAPI_LIBS} ; do
+  cp ${SITKACONF}/files/${INSTALLDIR}/var/web/js/ui/default/opac/${ODAPI_LIB}/od_config.js ${INSTALLDIR}/var/web/js/ui/default/opac/${ODAPI_LIB}/od_config.js
+done
 
 # install mobile PAC
 cd ${INSTALLDIR}/var/web/opac/extras && git clone git://git.sitka.bclibraries.ca/sitka/mobile-evergreen-opac.git mobile