File: //var/lib/dpkg/info/mime-support.postinst
#! /bin/sh -e
# dpkg triggers support for update-mime
if [ "$1" = "triggered" ]; then
test -x /usr/sbin/update-mime && /usr/sbin/update-mime --triggered
exit 0
fi
# Remove the old status directory (and any orphaned install-mime program)
rm -fr /var/lib/mime
rm -f /usr/sbin/install-mime
# Remove the "see" as alternative for "view"
# Closes: #623384
# This command can be removed after the Jessie release
update-alternatives --remove view /usr/bin/see
# Run the update program
if [ -x /usr/sbin/update-mime ]; then
/usr/sbin/update-mime --triggered
fi