You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
310 B

  1. #! /bin/sh
  2. set -e
  3. write_cache()
  4. {
  5. if [ -x `which gtk-update-icon-cache` ]; then
  6. if ! gtk-update-icon-cache --force --quiet /usr/share/icons/mate; then
  7. echo "WARNING: icon cache generation failed"
  8. fi
  9. fi
  10. }
  11. if [ "$1" = "triggered" ]; then
  12. write_cache
  13. exit 0
  14. fi
  15. write_cache
  16. #DEBHELPER#