Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > c8086ad276e1b62325605b6adf6c5a78 > scriptlet

gnome-panel-2.16.1-7.el5.i386.rpm

PREIN

/bin/sh
if [ "$1" -gt 1 ]; then
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  gconftool-2 --makefile-uninstall-rule \
	/etc/gconf/schemas/clock.schemas \
	/etc/gconf/schemas/fish.schemas \
	/etc/gconf/schemas/pager.schemas \
	/etc/gconf/schemas/panel-compatibility.schemas \
	/etc/gconf/schemas/panel-general.schemas \
	/etc/gconf/schemas/panel-global.schemas \
	/etc/gconf/schemas/panel-object.schemas \
	/etc/gconf/schemas/panel-toplevel.schemas \
	/etc/gconf/schemas/tasklist.schemas \
	/etc/gconf/schemas/window-list.schemas \
	/etc/gconf/schemas/workspace-switcher.schemas \
  > /dev/null || :
fi

PREUN

/bin/sh
if [ "$1" -eq 0 ]; then
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  gconftool-2 --makefile-uninstall-rule \
	/etc/gconf/schemas/clock.schemas \
	/etc/gconf/schemas/fish.schemas \
	/etc/gconf/schemas/pager.schemas \
	/etc/gconf/schemas/panel-compatibility.schemas \
	/etc/gconf/schemas/panel-general.schemas \
	/etc/gconf/schemas/panel-global.schemas \
	/etc/gconf/schemas/panel-object.schemas \
	/etc/gconf/schemas/panel-toplevel.schemas \
	/etc/gconf/schemas/tasklist.schemas \
	/etc/gconf/schemas/window-list.schemas \
	/etc/gconf/schemas/workspace-switcher.schemas \
  > /dev/null || :
fi

POSTIN

/bin/sh
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  gtk-update-icon-cache -q /usr/share/icons/hicolor
fi

export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`

#
# Clear out the old defaults
#
gconftool-2 --direct --config-source=$GCONF_CONFIG_SOURCE --recursive-unset /apps/panel > /dev/null || :
gconftool-2 --direct --config-source=$GCONF_CONFIG_SOURCE --recursive-unset /schemas/apps/panel > /dev/null || :

#
# Install the schemas
#
gconftool-2 --makefile-install-rule \
	/etc/gconf/schemas/clock.schemas \
	/etc/gconf/schemas/fish.schemas \
	/etc/gconf/schemas/pager.schemas \
	/etc/gconf/schemas/panel-compatibility.schemas \
	/etc/gconf/schemas/panel-general.schemas \
	/etc/gconf/schemas/panel-global.schemas \
	/etc/gconf/schemas/panel-object.schemas \
	/etc/gconf/schemas/panel-toplevel.schemas \
	/etc/gconf/schemas/tasklist.schemas \
	/etc/gconf/schemas/window-list.schemas \
	/etc/gconf/schemas/workspace-switcher.schemas \
  > /dev/null || :

#
# Install the default setup into /apps/panel and /apps/panel/default_setup
#
gconftool-2 --direct --config-source=$GCONF_CONFIG_SOURCE --load /etc/gconf/schemas/panel-default-setup.entries > /dev/null || :
gconftool-2 --direct --config-source=$GCONF_CONFIG_SOURCE --load /etc/gconf/schemas/panel-default-setup.entries /apps/panel > /dev/null || :

/sbin/ldconfig

POSTUN

/bin/sh
/sbin/ldconfig
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  gtk-update-icon-cache -q /usr/share/icons/hicolor
fi