Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > 2b48c5563b17c87c6d3d8fce8efe30c6 > scriptlet

galeon-1.3.12-4mdk.i586.rpm

POSTIN

/bin/sh
if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q || true ; fi
if [ -x /usr/bin/yelp-pregenerate ]; then /usr/bin/yelp-pregenerate /usr/share/gnome/help/galeon/*/galeon.xml > /dev/null || true ; fi
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule /etc/gconf/schemas/galeon.schemas > /dev/null
update-alternatives --install /usr/bin/webclient-gnome webclient-gnome /usr/bin/galeon 30
update-alternatives --install /usr/bin/webclient-kde   webclient-kde   /usr/bin/galeon 20
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi

POSTUN

/bin/sh
if [ "$1" = "0" ]; then
		update-alternatives --remove webclient-gnome /usr/bin/galeon
		update-alternatives --remove webclient-kde /usr/bin/galeon
fi
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 

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