#Added by slkbuild 0.7.0
dotnew() {
        NEW="${1}.new"
        OLD="$1"
        if [ ! -e $OLD ]; then
                mv $NEW $OLD
        elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
                rm $NEW
        fi
}
dotnew etc/tuxpaint/tuxpaint.conf
( cd usr/share/icons/hicolor/16x16/apps ; rm -rf tuxpaint.png )
( cd usr/share/icons/hicolor/16x16/apps ; ln -sf ../../../../tuxpaint/images/icon16x16.png tuxpaint.png )
( cd usr/share/icons/hicolor/22x22/apps ; rm -rf tuxpaint.png )
( cd usr/share/icons/hicolor/22x22/apps ; ln -sf ../../../../tuxpaint/images/icon22x22.png tuxpaint.png )
( cd usr/share/icons/hicolor/32x32/apps ; rm -rf tuxpaint.png )
( cd usr/share/icons/hicolor/32x32/apps ; ln -sf ../../../../tuxpaint/images/icon32x32.png tuxpaint.png )
( cd usr/share/icons/hicolor/48x48/apps ; rm -rf tuxpaint.png )
( cd usr/share/icons/hicolor/48x48/apps ; ln -sf ../../../../tuxpaint/images/icon48x48.png tuxpaint.png )
( cd usr/share/icons/hicolor/64x64/apps ; rm -rf tuxpaint.png )
( cd usr/share/icons/hicolor/64x64/apps ; ln -sf ../../../../tuxpaint/images/icon64x64.png tuxpaint.png )
( cd usr/share/icons/hicolor/96x96/apps ; rm -rf tuxpaint.png )
( cd usr/share/icons/hicolor/96x96/apps ; ln -sf ../../../../tuxpaint/images/icon96x96.png tuxpaint.png )
( cd usr/share/icons/hicolor/128x128/apps ; rm -rf tuxpaint.png )
( cd usr/share/icons/hicolor/128x128/apps ; ln -sf ../../../../tuxpaint/images/icon128x128.png tuxpaint.png )
( cd usr/share/icons/hicolor/192x192/apps ; rm -rf tuxpaint.png )
( cd usr/share/icons/hicolor/192x192/apps ; ln -sf ../../../../tuxpaint/images/icon192x192.png tuxpaint.png )
