doinst.sh 393 B

123456789101112131415
  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 [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  5. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  6. /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
  7. fi
  8. fi
  9. if [ -x /sbin/udevadm ]; then
  10. /sbin/udevadm control --reload-rules
  11. fi