#Added by slkbuild 0.6.1
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/cherokee/cherokee.conf
dotnew var/www/htdocs/index.html
( cd usr/lib64 ; rm -rf libcherokee-base.so.0 )
( cd usr/lib64 ; ln -sf libcherokee-base.so.0.0.1 libcherokee-base.so.0 )
( cd usr/lib64 ; rm -rf libcherokee-config.so )
( cd usr/lib64 ; ln -sf libcherokee-config.so.0.0.1 libcherokee-config.so )
( cd usr/lib64 ; rm -rf libcherokee-base.so )
( cd usr/lib64 ; ln -sf libcherokee-base.so.0.0.1 libcherokee-base.so )
( cd usr/lib64 ; rm -rf libcherokee-config.so.0 )
( cd usr/lib64 ; ln -sf libcherokee-config.so.0.0.1 libcherokee-config.so.0 )
( cd usr/lib64 ; rm -rf libcherokee-server.so )
( cd usr/lib64 ; ln -sf libcherokee-server.so.0.0.1 libcherokee-server.so )
( cd usr/lib64 ; rm -rf libcherokee-server.so.0 )
( cd usr/lib64 ; ln -sf libcherokee-server.so.0.0.1 libcherokee-server.so.0 )
( cd usr/lib64 ; rm -rf libcherokee-client.so )
( cd usr/lib64 ; ln -sf libcherokee-client.so.0.0.1 libcherokee-client.so )
( cd usr/lib64 ; rm -rf libcherokee-client.so.0 )
( cd usr/lib64 ; ln -sf libcherokee-client.so.0.0.1 libcherokee-client.so.0 )
