install-eg.sh: install custom dojo build from upstream
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 25 Sep 2015 19:50:46 +0000 (12:50 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 25 Sep 2015 19:50:46 +0000 (12:50 -0700)
deployment/install-eg.sh

index 984fd05..bb07c6d 100755 (executable)
@@ -116,6 +116,11 @@ then
 fi
 tar -C ${INSTALLDIR}/var/web/js -xzf /home/opensrf/dojo-release-1.3.3.tar.gz
 cp -r ${INSTALLDIR}/var/web/js/dojo-release-1.3.3/* ${INSTALLDIR}/var/web/js/dojo/.
+# FIXME stock dojo is probably superfluous when we use the following Evergreen-specific tarball...
+if [ ! -f "/home/opensrf/dojo.tgz" ] ; then
+  cd /home/opensrf && wget http://evergreen-ils.org/downloads/dojo.tgz
+fi
+tar -C ${INSTALLDIR}/var/web/js/dojo/ -zxf /home/opensrf/dojo.tgz
  
 # 2. set up staff client
 cd ${INSTALLDIR}/var/web/xul && rm server && rm current