#Added by buildpkg 1.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/gconf/schemas/f-spot.schemas
dotnew etc/gconf/gconf.xml.defaults/schemas/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/schemas/desktop/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/f-spot/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/f-spot/viewer/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/f-spot/ui/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/desktop/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/desktop/gnome/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/desktop/gnome/f-spot/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/desktop/gnome/f-spot/viewer/%gconf.xml
dotnew etc/gconf/gconf.xml.defaults/desktop/gnome/f-spot/ui/%gconf.xml
doinst() {
	# update the mime desktop database
	if [ -x usr/bin/update-desktop-database ]; then
	        usr/bin/update-desktop-database -q
	fi
	# update the mime database
	if [ -x usr/bin/update-mime-database ]; then
	        usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
	fi
}
doinst
( cd usr/lib/f-spot ; rm -rf libfspot.so.0 )
( cd usr/lib/f-spot ; ln -sf libfspot.so.0.0.0 libfspot.so.0 )
( cd usr/lib/f-spot ; rm -rf libfspot.so )
( cd usr/lib/f-spot ; ln -sf libfspot.so.0.0.0 libfspot.so )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-adjust-colors.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-adjust-colors.png f-spot-adjust-colors.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-autocolor.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-autocolor.png f-spot-autocolor.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-crop.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-crop.png f-spot-crop.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-desaturate.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-desaturate.png f-spot-desaturate.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-fullscreen.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-fullscreen.png f-spot-fullscreen.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-red-eye.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-red-eye.png f-spot-red-eye.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-sepia.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-sepia.png f-spot-sepia.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-slideshow.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-slideshow.png f-spot-slideshow.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-soft-focus.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-soft-focus.png f-spot-soft-focus.png )
( cd usr/share/gnome/help/f-spot/de/figures ; rm -rf f-spot-straighten.png )
( cd usr/share/gnome/help/f-spot/de/figures ; ln -sf ../../C/figures/f-spot-straighten.png f-spot-straighten.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-adjust-colors.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-adjust-colors.png f-spot-adjust-colors.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-autocolor.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-autocolor.png f-spot-autocolor.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-crop.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-crop.png f-spot-crop.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-desaturate.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-desaturate.png f-spot-desaturate.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-fullscreen.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-fullscreen.png f-spot-fullscreen.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-red-eye.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-red-eye.png f-spot-red-eye.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-sepia.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-sepia.png f-spot-sepia.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-slideshow.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-slideshow.png f-spot-slideshow.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-soft-focus.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-soft-focus.png f-spot-soft-focus.png )
( cd usr/share/gnome/help/f-spot/es/figures ; rm -rf f-spot-straighten.png )
( cd usr/share/gnome/help/f-spot/es/figures ; ln -sf ../../C/figures/f-spot-straighten.png f-spot-straighten.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-adjust-colors.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-adjust-colors.png f-spot-adjust-colors.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-autocolor.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-autocolor.png f-spot-autocolor.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-crop.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-crop.png f-spot-crop.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-desaturate.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-desaturate.png f-spot-desaturate.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-fullscreen.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-fullscreen.png f-spot-fullscreen.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-red-eye.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-red-eye.png f-spot-red-eye.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-sepia.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-sepia.png f-spot-sepia.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-slideshow.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-slideshow.png f-spot-slideshow.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-soft-focus.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-soft-focus.png f-spot-soft-focus.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; rm -rf f-spot-straighten.png )
( cd usr/share/gnome/help/f-spot/fr/figures ; ln -sf ../../C/figures/f-spot-straighten.png f-spot-straighten.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-adjust-colors.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-adjust-colors.png f-spot-adjust-colors.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-autocolor.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-autocolor.png f-spot-autocolor.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-crop.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-crop.png f-spot-crop.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-desaturate.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-desaturate.png f-spot-desaturate.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-fullscreen.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-fullscreen.png f-spot-fullscreen.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-red-eye.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-red-eye.png f-spot-red-eye.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-sepia.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-sepia.png f-spot-sepia.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-slideshow.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-slideshow.png f-spot-slideshow.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-soft-focus.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-soft-focus.png f-spot-soft-focus.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; rm -rf f-spot-straighten.png )
( cd usr/share/gnome/help/f-spot/sl/figures ; ln -sf ../../C/figures/f-spot-straighten.png f-spot-straighten.png )
