From 8bc22701fbef17c24de6f2f8af282da08eba5766 Mon Sep 17 00:00:00 2001 From: koem Date: Sat, 9 Feb 2013 18:14:29 +1300 Subject: Icons for OC - new icons for opencaching - changed some icons because of copyright - english strings for opencaching attributes - german strings for opencaching attributes - new script to show (missing) strings for attributes - new script to edit svg files from thenounproject.com - new script to generate enums - ocicons.html: list of all OC icons --- main/project/attributes/nounwork.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 main/project/attributes/nounwork.sh (limited to 'main/project/attributes/nounwork.sh') diff --git a/main/project/attributes/nounwork.sh b/main/project/attributes/nounwork.sh new file mode 100755 index 0000000..91ac2b2 --- /dev/null +++ b/main/project/attributes/nounwork.sh @@ -0,0 +1,20 @@ +#/!bin/bash + +if [ $# -ne 2 ]; then + echo "Usage: $0 " + exit +fi + +TMPDIR=`date +"%N"` +mkdir $TMPDIR +mkdir new +wget -O $TMPDIR/x.zip $2 +unzip $TMPDIR/x.zip -d $TMPDIR +rm $TMPDIR/x.zip +mv $TMPDIR/*.svg new/$1.svg +rm -rf $TMPDIR +inkscape new/$1.svg +chmod 664 new/$1.svg +sed -i 's/pagecolor="#......"/pagecolor="#009674"/g;s/pageopacity="[^"]*"/pageopacity="1"/g' new/$1.svg + +ls new -- cgit v1.1