beremiz
Clone
Summary
Browse
Changes
Graph
Fix template conflict in XSLT with lxml>=4.9.0 again
2023-10-16, Edouard Tisserant
e9807c28a788
Fix template conflict in XSLT with lxml>=4.9.0 again
Earlier attempt was fixing conflict with -1.0 priority attribute,
as a side effect of such low priority, SFC Actions were not
editable anymore.
This time move template around instead of using explicit priority.
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt icons.svg ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
"$INKSCAPE" icons.svg -z -e $i.png -i $i
fi
done