#!/bin/sh set -e if [ "$1" != "upgrade" ]; then update-alternatives --remove idmap-plugin /usr/lib/x86_64-linux-gnu/cifs-utils/idmapwb.so fi