PREUN
/bin/sh
if [ -r /etc/gconf/schemas/gnomemeeting.schemas -a -x /usr/bin/gconftool-2 ]; then
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/gnomemeeting.schemas > /dev/null
update-alternatives --remove webcam.kde.dynamic /etc/dynamic/launchers/webcam/gnomemeeting.desktop
update-alternatives --remove webcam.gnome.dynamic /etc/dynamic/launchers/webcam/gnomemeeting.desktop
fi
if [ "$1" = "0" -a -x /usr/bin/gconftool-2 ]; then
SCHEMAS=""
for SCHEMA in ekiga ; 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/gconftool-2 ]; then
SCHEMAS=""
for SCHEMA in ekiga ; 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 [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
update-alternatives --install /etc/dynamic/launchers/webcam/kde.desktop webcam.kde.dynamic /etc/dynamic/launchers/webcam/ekiga.desktop 40
update-alternatives --install /etc/dynamic/launchers/webcam/gnome.desktop webcam.gnome.dynamic /etc/dynamic/launchers/webcam/ekiga.desktop 40
if [ -x /usr/bin/scrollkeeper-update ]; then
/usr/bin/scrollkeeper-update -q || true ; fi
POSTUN
/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
if [ "$1" = "0" -a -x /usr/bin/scrollkeeper-update ];
then /usr/bin/scrollkeeper-update -q || true ; fi
if [ "$1" = "0" ]; then
update-alternatives --remove webcam.kde.dynamic /etc/dynamic/launchers/webcam/ekiga.desktop
update-alternatives --remove webcam.gnome.dynamic /etc/dynamic/launchers/webcam/ekiga.desktop
fi