images/smilies/render-smilies.sh
author Dan
Sun, 06 Dec 2009 21:56:46 -0500
changeset 1151 8f0cbce6d5f3
parent 944 073a42e4177f
permissions -rw-r--r--
Fixed ranks table under PostgreSQL. FIXME, only affects new installations and upgrades, if this bug is encountered in the wild we might want to look at auto-integrating a fix.

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