doinst.sh 508 B

12345678910111213141516
  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