etherlab/images/genicons.sh
author Laurent Bessard
Mon, 30 Sep 2013 13:43:02 +0200
changeset 2161 4bea1d98db46
parent 2043 27d4cb689a79
permissions -rwxr-xr-x
Fixed bug in information returned for module where entries are defined only in PDO mapping
#!/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