doinst.sh 473 B

1234567891011121314151617
  1. if [ -x /usr/bin/update-desktop-database ]; then
  2. /usr/bin/update-desktop-database -q usr/share/applications
  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 [ -x /usr/bin/gtk-update-icon-cache ]; then
  8. for theme in gnome locolor hicolor ; do
  9. if [ -e usr/share/icons/$theme/icon-theme.cache ]; then
  10. /usr/bin/gtk-update-icon-cache -f usr/share/icons/$theme >/dev/null 2>&1
  11. fi
  12. done
  13. fi