if [ -x /usr/bin/update-mime-database ]; then
  /usr/bin/update-mime-database /usr/share/mime &> /dev/null
fi

if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi

if [ -e usr/share/glib-2.0/schemas ]; then
  if [ -x /usr/bin/glib-compile-schemas ]; then
    /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
  fi
fi
( cd usr/share/help/ca/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/ca/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/cs/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/cs/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/da/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/da/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/de/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/de/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/el/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/el/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/en_GB/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/en_GB/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/es/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/es/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/eu/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/eu/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/fr/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/fr/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/fur/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/fur/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/gl/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/gl/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/hu/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/hu/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/id/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/id/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/ko/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/ko/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/nl/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/nl/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/pl/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/pl/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/pt_BR/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/pt_BR/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/ro/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/ro/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/sv/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/sv/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/tr/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/tr/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
( cd usr/share/help/uk/gnome-photos/media ; rm -rf logo1.png )
( cd usr/share/help/uk/gnome-photos/media ; ln -sf /usr/share/help/C/gnome-photos/media/logo1.png logo1.png )
