#!/bin/sh -e DEB_HOST_MULTIARCH=x86_64-linux-gnu SLEPC_VERSION=3.16.2 SONAME=3.16 # Remove alternatives links if [ "$1" = "remove" ]; then update-alternatives --remove libslepc64.so.${SONAME} /usr/lib/${DEB_HOST_MULTIARCH}/libslepc64_complex.so.${SLEPC_VERSION} fi