images/smilies/convert.sh
author Dan
Sat, 21 Jul 2007 11:28:59 -0400
changeset 72 bda11e521e8a
parent 0 902822492a68
permissions -rw-r--r--
Fixed a few presentation bugs in installer, made installer more "legally binding", and fixed global permissions inheritance in $session->fetch_page_acl()

#!/bin/bash
for f in *.svg; do
    echo Converting $f
    fname=`echo $f | cut -d '.' -f 1`
    rm -f $fname.png
    inkscape -z -f $f -w 22 -h 22 -e ./$fname.png
done