etherlab/images/genicons.sh
author Mario de Sousa <msousa@fe.up.pt>
Thu, 28 Jan 2021 14:50:26 +0000
changeset 2722 5d72a52b8f9c
parent 2043 27d4cb689a79
permissions -rwxr-xr-x
modbus plugin: add (user accessible) transaction bool flags for servers/slaves; FIX BUG in previous commit affecting RTU slaves.
#!/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