#!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "disappear" ] ; then update-alternatives --remove oslopolicy-checker /usr/bin/python3-oslopolicy-checker update-alternatives --remove oslopolicy-list-redundant /usr/bin/python3-oslopolicy-list-redundant update-alternatives --remove oslopolicy-policy-generator /usr/bin/python3-oslopolicy-policy-generator update-alternatives --remove oslopolicy-sample-generator /usr/bin/python3-oslopolicy-sample-generator update-alternatives --remove oslopolicy-checker /usr/bin/python3-oslopolicy-checker fi exit 0