home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnome-applets-data.postinst < prev    next >
Encoding:
Text File  |  2009-04-23  |  1.3 KB  |  36 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
  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 mixer.schemas multiload.schemas stickynotes.schemas 
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_icons
  15. if which update-icon-caches >/dev/null 2>&1 ; then
  16.     update-icon-caches /usr/share/icons/hicolor
  17. fi
  18. # End automatically added section
  19. # Automatically added by dh_pysupport
  20. if which update-python-modules >/dev/null 2>&1; then
  21.     update-python-modules  gnome-applets-data
  22. fi
  23. # End automatically added section
  24.  
  25.  
  26. if [ "$1" = "configure" ]; then
  27.         GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  28.         TMP_HOME=`mktemp -d /tmp/gconf.XXXXXX`
  29.         HOME=${TMP_HOME} gconftool-2 --direct \
  30.                 --config-source=${GCONF_CONFIG_SOURCE} --recursive-unset \
  31.                 /apps/mini-commander /apps/mini-commander-global \
  32.                 /schemas/apps/mini-commander \
  33.                 /schemas/apps/mini-commander-global   >/dev/null
  34.         rm -rf ${TMP_HOME}
  35. fi
  36.