Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > media > main > by-pkgid > 54b7f1c83297fcd49e75fab09144e6eb > scriptlet

galeon-1.2.5-8.2mdk.x86_64.rpm

POSTIN

/bin/sh
if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q || true ; fi
/usr/bin/galeon-config-tool --pkg-install-schemas
if [ "$DURING_INSTALL" != "" ]; then
	killall oafd 2>&1 > /dev/null
fi
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