doinst.sh 684 B

123456789101112131415161718192021
  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 other icon themes are installed, then add to/modify this as needed
  8. if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  9. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  10. /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
  11. fi
  12. fi
  13. if [ -e usr/share/glib-2.0/schemas ]; then
  14. if [ -x /usr/bin/glib-compile-schemas ]; then
  15. /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
  16. fi
  17. fi