#! /bin/sh
#
# prerm file for mime-support

if [ "${BASEDIR:=/}" = "/" ]; then
    BASEDIR=""
fi

# This section can be removed after the Jessie release.
if [ "$1" = "remove" ]; then
    update-alternatives \
    --altdir $BASEDIR/etc/alternatives \
    --admindir $BASEDIR/var/lib/dpkg/alternatives \
	--remove view /usr/bin/see
    rm -f $BASEDIR/etc/mailcap
fi
