diff options
Diffstat (limited to '')
-rwxr-xr-x | debian/open-infrastructure-container-tools.prerm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/open-infrastructure-container-tools.prerm b/debian/open-infrastructure-container-tools.prerm new file mode 100755 index 0000000..3650635 --- /dev/null +++ b/debian/open-infrastructure-container-tools.prerm @@ -0,0 +1,29 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove|upgrade|deconfigure) + # build-scripts + update-alternatives --quiet --remove container_build-script /usr/share/compute-tools/build-scripts/mmdebstrap + update-alternatives --quiet --remove container_build-script /usr/share/compute-tools/build-scripts/debootstrap + update-alternatives --quiet --remove container_build-script /usr/share/compute-tools/build-scripts/progress-linux + update-alternatives --quiet --remove container_build-script /usr/share/compute-tools/build-scripts/debian + + # get-scripts + update-alternatives --quiet --remove container_get-script /usr/share/compute-tools/get-scripts/curl + ;; + + failed-upgrade) + + ;; + + *) + echo "prerm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |