#Added by slkbuild 0.7.3
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/gnashrc
dotnew etc/gnashpluginrc
( cd usr/lib64/gnash ; rm -rf libgnashbase.so )
( cd usr/lib64/gnash ; ln -sf libgnashbase-0.8.8.so libgnashbase.so )
( cd usr/lib64/gnash ; rm -rf libgnashmedia.so )
( cd usr/lib64/gnash ; ln -sf libgnashmedia-0.8.8.so libgnashmedia.so )
( cd usr/lib64/gnash ; rm -rf libgnashsound.so )
( cd usr/lib64/gnash ; ln -sf libgnashsound-0.8.8.so libgnashsound.so )
( cd usr/lib64/gnash ; rm -rf libgnashcore.so )
( cd usr/lib64/gnash ; ln -sf libgnashcore-0.8.8.so libgnashcore.so )
( cd usr/lib64/gnash ; rm -rf libgnashrender.so.0 )
( cd usr/lib64/gnash ; ln -sf libgnashrender.so.0.0.0 libgnashrender.so.0 )
( cd usr/lib64/gnash ; rm -rf libgnashrender.so )
( cd usr/lib64/gnash ; ln -sf libgnashrender.so.0.0.0 libgnashrender.so )
