POSTIN
/bin/sh
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
update-alternatives --install /etc/dynamic/launchers/rio500/kde.desktop rio500.kde.dynamic /etc/dynamic/launchers/rio500/grio500.desktop 30
update-alternatives --install /etc/dynamic/launchers/rio500/gnome.desktop rio500.gnome.dynamic /etc/dynamic/launchers/rio500/grio500.desktop 30
POSTUN
/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
if [ $1 = 0 ]; then
update-alternatives --remove rio500.kde.dynamic /etc/dynamic/launchers/rio500/grio500.desktop
update-alternatives --remove rio500.gnome.dynamic /etc/dynamic/launchers/rio500/grio500.desktop
fi