POSTIN
/bin/sh
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi update-mime-database /usr/share/mime > /dev/null update-desktop-database /usr/share/applications/
POSTUN
/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi update-mime-database /usr/share/mime > /dev/null update-desktop-database /usr/share/applications/