diff options
| author | koem <koem@petoria.de> | 2013-02-09 18:14:29 +1300 |
|---|---|---|
| committer | koem <koem@petoria.de> | 2013-02-11 08:16:24 +1300 |
| commit | 8bc22701fbef17c24de6f2f8af282da08eba5766 (patch) | |
| tree | 7f81de606dab7eb5dab6d20cac2af1c00b99ceba /main/project/attributes/nounwork.sh | |
| parent | 509cefa3af847129bf40cff15437183d950752a7 (diff) | |
| download | cgeo-8bc22701fbef17c24de6f2f8af282da08eba5766.zip cgeo-8bc22701fbef17c24de6f2f8af282da08eba5766.tar.gz cgeo-8bc22701fbef17c24de6f2f8af282da08eba5766.tar.bz2 | |
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
Diffstat (limited to 'main/project/attributes/nounwork.sh')
| -rwxr-xr-x | main/project/attributes/nounwork.sh | 20 |
1 files changed, 20 insertions, 0 deletions
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 <iconname> <zip-link>" + 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 |
