doinst.sh 456 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. # Update hicolor theme cache:
  8. if [ -d usr/share/icons/hicolor ]; then
  9. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  10. chroot . /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null
  11. fi
  12. fi