doinst.sh 671 B

12345678910111213141516171819202122232425
  1. schema_install() {
  2. SCHEMA="$1"
  3. GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
  4. chroot . gconftool-2 --makefile-install-rule \
  5. /etc/gconf/schemas/$SCHEMA \
  6. 1>/dev/null
  7. }
  8. schema_install seahorse-plugins.schemas
  9. if [ -x /usr/bin/update-desktop-database ]; then
  10. /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
  11. fi
  12. if [ -x /usr/bin/update-mime-database ]; then
  13. /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
  14. fi
  15. if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  16. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  17. /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
  18. fi
  19. fi