Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > main > by-pkgid > d26505529998b18afbc8f56721072c59 > scriptlet

epiphany-1.6.5-6mdk.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