[open-ils-commits] r347 - conifer/trunk/tools (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 17 14:31:19 EDT 2009
Author: dbs
Date: 2009-04-17 14:31:16 -0400 (Fri, 17 Apr 2009)
New Revision: 347
Modified:
conifer/trunk/tools/patch_conifer.sh
Log:
Fix a closing quote (doh)
Adjust the behaviour of Google Books Preview on results page to suit LUL's taste
Modified: conifer/trunk/tools/patch_conifer.sh
===================================================================
--- conifer/trunk/tools/patch_conifer.sh 2009-04-17 18:26:51 UTC (rev 346)
+++ conifer/trunk/tools/patch_conifer.sh 2009-04-17 18:31:16 UTC (rev 347)
@@ -84,7 +84,12 @@
do
sed -i -e 's/skin\/default\/js/skin\/default_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
+ sed -i -e 's/var googleBooksLink = true/var googleBooksLink = false/' "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test/js/result_common.js
+ fi
done
}
More information about the open-ils-commits
mailing list