https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20538

--- Comment #5 from Julian Maurice <julian.maur...@biblibre.com> ---
Just in case, the sed commands I used to modify (almost) all templates:

sed -i -E 's/<(script|link) .*(href|src)=["'"'"']((\[%.*?%\])\/)*([^%]*)_\[%
KOHA_VERSION %\]\.(js|css)["'"'"'].*(\/?>|<\/\1>)/[% Asset.\6("\5\.\6") %]/'
**/*.inc **/*.tt

git status --porcelain | grep '^ M' | awk '{print $2}' | xargs -- sed -i '1i[%
USE Asset %]'

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to