images/smilies/convert.sh
author Dan
Mon, 11 Aug 2008 21:34:37 -0400
changeset 682 9523cc7d767c
parent 0 902822492a68
permissions -rw-r--r--
Fixed System pages not being createable even with proper admin rights. This is hackish, it probably needs to have something implemented at the ACL level.

#!/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