fix 404 and 500 errors with XUL locale stuff
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 3 Jun 2015 21:25:40 +0000 (14:25 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 3 Jun 2015 21:25:40 +0000 (14:25 -0700)
deployment/install-eg.sh

index 6824bc3..e7c8a65 100755 (executable)
@@ -108,21 +108,24 @@ done
  
 # 3. install circ scripts and opac skins - DEPRECATED
 
-# 4. avoid 404s - XXX deprecated?
-#touch ${INSTALLDIR}/var/web/css/skin/default/register_custom.css
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/patron_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/common_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/offline_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/auth_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/cat_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/circ_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/patron_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/common_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/offline_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/auth_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/cat_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/circ_custom.properties
-#touch ${INSTALLDIR}/var/web/xul/server/skin/custom.js
+# 4a. avoid 404s
+touch ${INSTALLDIR}/var/web/css/skin/default/register_custom.css
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/patron_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/common_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/offline_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/auth_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/cat_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-CA/circ_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/patron_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/common_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/offline_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/auth_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/cat_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/locale/en-US/circ_custom.properties
+touch ${INSTALLDIR}/var/web/xul/server/skin/custom.js
+
+# 4b. workaround for LP#1461683
+cd ${INSTALLDIR}/var/web/xul/server/locale/en-CA && mv multiclass_search_help.html multiclass_search_help.html.orig && ln -s ../en-US/multiclass_search_help.html
 
 # 5. locale hack - XXX deprecated?
 #cd ${INSTALLDIR}/var/web/opac/locale && cp -fdr en-US en-US-bak && cp -fdr en-CA en-US