schema_install() {
  SCHEMA="$1"
  GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
  chroot . gconftool-2 --makefile-install-rule \
    /etc/gconf/schemas/$SCHEMA \
    1>/dev/null
}

schema_install thumbnailer.schemas
( cd usr/bin ; rm -rf gnome-web-print )
( cd usr/bin ; ln -sf gnome-web-photo gnome-web-print )
( cd usr/bin ; rm -rf gnome-web-thumbnail )
( cd usr/bin ; ln -sf gnome-web-photo gnome-web-thumbnail )
