Let's preserve the symbolic links, as page names count :)
authordbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sun, 15 Mar 2009 18:21:52 +0000 (18:21 +0000)
committerdbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sun, 15 Mar 2009 18:21:52 +0000 (18:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@183 6d9bc8c9-1ec2-4278-b937-99fde70a366f

tools/patch_conifer.sh

index a8db92b..f6abf80 100644 (file)
@@ -56,7 +56,8 @@ copy_opac_skins()
        # We probably need to munge the links to point to default_test for rdetail.js (possibly others?)
        for skin in $SKINS
        do
-               cp -r "$CANONICAL_EXPORT_DIR"/Open-ILS/web/opac/skin/default "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test
+               rm -fr "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test
+               cp -dr "$CANONICAL_EXPORT_DIR"/Open-ILS/web/opac/skin/default "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test
                cp -r "$LOCAL_EXPORT_DIR"/web/opac/skin/"$skin"/* "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test/.
                for munge_file in 'page_rdetail.xml'
                do