Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > 621e5b70948b343db5ca0a71d6090963 > scriptlet

gnome-panel-2.32.0.2-2.fc14.i686.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 || :
  if [ -f /etc/gconf/schemas/notification_area_applet.schemas ]; then
    gconftool-2 --makefile-uninstall-rule \
	/etc/gconf/schemas/notification_area_applet.schemas > /dev/null || :
  fi
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 || :
  if [ -f /etc/gconf/schemas/notification_area_applet.schemas ]; then
    gconftool-2 --makefile-uninstall-rule \
	/etc/gconf/schemas/notification_area_applet.schemas > /dev/null || :
  fi
fi

POSTIN

/bin/sh
touch --no-create /usr/share/icons/hicolor >&/dev/null || :

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 \
	/etc/gconf/schemas/notification_area_applet.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
if [ $1 -eq 0 ]; then
  touch --no-create /usr/share/icons/hicolor >&/dev/null || :
  gtk-update-icon-cache -q /usr/share/icons/hicolor >&/dev/null || :
fi

POSTTRANS

/bin/sh
gtk-update-icon-cache -q /usr/share/icons/hicolor >&/dev/null || :