home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / var / lib / dpkg / info / gnome-applets-data.postinst < prev    next >
Encoding:
Text File  |  2006-08-30  |  1.5 KB  |  43 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. # Automatically added by dh_scrollkeeper
  5. if [ "$1" = "configure" ] && which scrollkeeper-update >/dev/null 2>&1; then
  6.     scrollkeeper-update -q >/dev/null 2>&1
  7. fi
  8. # End automatically added section
  9. # Automatically added by dh_gconf
  10. if [ "$1" = "configure" ]; then
  11.     gconf-schemas --register battstat.schemas charpick.schemas cpufreq-applet.schemas drivemount.schemas geyes.schemas gswitchit.schemas gweather.schemas mixer.schemas multiload.schemas 
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_desktop
  15. if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
  16.     update-desktop-database -q
  17. fi
  18. # End automatically added section
  19. # Automatically added by dh_iconcache
  20. touch -m /usr/share/icons/hicolor
  21. if [ "$1" = configure ] && \
  22.    [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && \
  23.    [ -f /etc/gtk-2.0/gdk-pixbuf.loaders ] && \
  24.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type d | wc -l`" -gt 0 ] && \
  25.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type f -name index.theme | wc -l`" -eq 1 ]; then
  26.     gtk-update-icon-cache -q /usr/share/icons/hicolor
  27. fi
  28. # End automatically added section
  29.  
  30.  
  31. if [ "$1" = "configure" ]; then
  32.     GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  33.     TMP_HOME=`mktemp -d /tmp/gconf.XXXXXX`
  34.     HOME=${TMP_HOME} gconftool-2 --direct \
  35.         --config-source=${GCONF_CONFIG_SOURCE} --recursive-unset \
  36.         /apps/mini-commander /apps/mini-commander-global \
  37.         /schemas/apps/mini-commander \
  38.         /schemas/apps/mini-commander-global   >/dev/null
  39.     rm -rf ${TMP_HOME}
  40. fi
  41.  
  42. exit 0
  43.