summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-container-tools.prerm
blob: 36506353d7ec915be3726f15f91387638f092ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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