doinst.sh 614 B

12345678910111213141516171819202122
  1. if [ -x /usr/bin/update-desktop-database ]; then
  2. /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
  3. fi
  4. if [ -x /usr/bin/update-mime-database ]; then
  5. /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
  6. fi
  7. if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  8. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  9. /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
  10. fi
  11. fi
  12. if [ -e usr/share/glib-2.0/schemas ]; then
  13. if [ -x /usr/bin/glib-compile-schemas ]; then
  14. /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
  15. fi
  16. fi