#!/bin/sh

set -e

# do not touch the alternative while being deconfigured
# this is a M-A:same package which gets regularily deconfigured
# during upgrades if multiple architectures are installed
if [ "$1" = "remove" ]; then
	update-alternatives --remove mpi-@DEB_HOST_MULTIARCH@ /usr/include/@DEB_HOST_MULTIARCH@/mpich
fi

#DEBHELPER#
