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