[open-ils-commits] r349 - conifer/trunk/tools (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 17 15:08:31 EDT 2009
Author: dbs
Date: 2009-04-17 15:08:27 -0400 (Fri, 17 Apr 2009)
New Revision: 349
Modified:
conifer/trunk/tools/patch_conifer.sh
Log:
Point at skin-specific copies of JS files; useful if our skin contains customizations
Modified: conifer/trunk/tools/patch_conifer.sh
===================================================================
--- conifer/trunk/tools/patch_conifer.sh 2009-04-17 18:39:25 UTC (rev 348)
+++ conifer/trunk/tools/patch_conifer.sh 2009-04-17 19:08:27 UTC (rev 349)
@@ -80,11 +80,12 @@
ln -sf index.xml `basename "$xml_link"`
done
- for munge_file in 'page_rdetail.xml'
+ # Point at theme-specific JS, as we have our own copies
+ for munge_file in 'page_rdetail.xml' 'page_mresult.xml' 'page_rresult.xml'
do
- sed -i -e 's/skin\/default\/js/skin\/default_test\/js/' "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test/xml/"$munge_file"
+ sed -i -e "s/skin\/default\/js/skin\/$skin\_test\/js/" "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test/xml/"$munge_file"
done
- sed -i -e "s/\/$skin\/css\/layout.css/\/$skin\_test\/css\/layout.css/" "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test/xml/common/css_common.xml
+ sed -i -e "s/\/$skin\/css\/layout.css/\/$skin\_test\/css\/layout.css/" "$INSTALL_DIR/var/web/opac/skin/$skin\_test/xml/common/css_common.xml"
if [ "$skin" == "lul" ]
then
More information about the open-ils-commits
mailing list