Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > updates > by-pkgid > 66e48c60903a84691c636e6a925cbc0c > scriptlet

epiphany-1.8.5-4.2.20060mdk.x86_64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ] ; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for schema in epiphany epiphany-lockdown ; do
  gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$schema.schemas > /dev/null
done
fi

POSTIN

/bin/sh
if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q || true ; fi
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for schema in epiphany epiphany-lockdown ; do 
 gconftool-2 --makefile-install-rule /etc/gconf/schemas/$schema.schemas > /dev/null
done
if [ "$1" = "2" ]; then
update-alternatives --remove webclient-gnome /usr/bin/epiphany
update-alternatives --remove webclient-kde /usr/bin/epiphany
fi

if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi

POSTUN

/bin/sh
if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q || true ; fi
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi