POSTIN
/bin/sh
# Icons
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ] ; then
/usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor || :
fi
# MimeType entry in the desktop file
update-desktop-database &> /dev/null || :
# MIME package
update-mime-database /usr/share/mime &> /dev/null || :
POSTUN
/bin/sh
# Icons
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ] ; then
/usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor || :
fi
# MimeType entry in the desktop file
update-desktop-database &> /dev/null || :
# MIME package
update-mime-database /usr/share/mime &> /dev/null || :