Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 9b3ccde1d5cff6c0f89f3e109efbfb9c > scriptlet

epiphany-2.22.3-0.1mdv2008.1.x86_64.rpm

PREUN

/bin/sh
if [ "$1" = "0" -a -x /usr/bin/gconftool-2 ]; then 
SCHEMAS="" 
for SCHEMA in epiphany epiphany-lockdown epiphany-fonts epiphany-pango ; do 
  SCHEMAS="$SCHEMAS /etc/gconf/schemas/$SCHEMA.schemas" 
done 
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` /usr/bin/gconftool-2 --makefile-uninstall-rule  $SCHEMAS > /dev/null || true ; fi

POSTIN

/bin/sh
if [ -x /usr/bin/scrollkeeper-update ]; then 
/usr/bin/scrollkeeper-update -q || true ; fi 

if [ -x /usr/bin/gconftool-2 ]; then 
SCHEMAS="" 
for SCHEMA in epiphany epiphany-lockdown epiphany-fonts epiphany-pango ; do 
  SCHEMAS="$SCHEMAS /etc/gconf/schemas/$SCHEMA.schemas" 
done 
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` /usr/bin/gconftool-2 --makefile-install-rule $SCHEMAS > /dev/null || true ; fi 
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/gtk-update-icon-cache ]; then 
/usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor || true; fi 

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

POSTUN

/bin/sh
if [ "$1" = "0" -a -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 

if [ -x /usr/bin/gtk-update-icon-cache -a -r /usr/share/icons/hicolor/index.theme ]; then 
/usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor || true ; fi