| Current Path : /var/lib/dpkg/info/ |
| Current File : //var/lib/dpkg/info/mime-support.postinst |
#! /bin/sh -e
#if [ "$1" = "configure" ]; then
#fi
# Remove the old status directory (and any orphaned install-mime program)
rm -fr /var/lib/mime
rm -f /usr/sbin/install-mime
# Use "see" as alternative for "view"
update-alternatives \
--install /usr/bin/view view /usr/bin/see 1 \
--slave /usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/see.1.gz
# Run the update program
if [ -x /usr/sbin/update-mime ]; then
update-mime
fi