images/smilies/convert.sh
author Dan
Tue, 12 Feb 2008 07:44:16 -0500
changeset 418 322fa0c91303
parent 0 902822492a68
permissions -rw-r--r--
Fixed version-set on migration code (see the comments in the source for why) and added post-upgrade hooks.

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