home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / kdelibs-data.postinst < prev    next >
Encoding:
Text File  |  2007-04-11  |  710 b   |  18 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_iconcache
  4. touch -m /usr/share/icons/crystalsvg
  5. if [ "$1" = configure ] && \
  6.    [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && \
  7.    [ -f /etc/gtk-2.0/gdk-pixbuf.loaders ] && \
  8.    [ "`find /usr/share/icons/crystalsvg -mindepth 1 -maxdepth 1 -type d | wc -l`" -gt 0 ] && \
  9.    [ "`find /usr/share/icons/crystalsvg -mindepth 1 -maxdepth 1 -type f -name index.theme | wc -l`" -eq 1 ]; then
  10.     gtk-update-icon-cache -q /usr/share/icons/crystalsvg
  11. fi
  12. # End automatically added section
  13. # Automatically added by dh_desktop
  14. if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
  15.     update-desktop-database -q
  16. fi
  17. # End automatically added section
  18.