PREUN
/bin/sh
if [ "$1" = "0" ]; then
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/gnome-session.schemas > /dev/null
fi
POSTIN
/bin/sh
if [ "$1" = "2" -a -r /etc/sysconfig/desktop ]; then
perl -pi -e "s|^DESKTOP=Gnome$|DESKTOP=GNOME|g" /etc/sysconfig/desktop
fi
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnome-session.schemas > /dev/null
if [ -x /usr/sbin/fndSession ]; then /usr/sbin/fndSession || true ; fi
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
POSTUN
/bin/sh
if [ -x /usr/sbin/fndSession ]; then /usr/sbin/fndSession || true ; fi
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi