summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-container-tools.prerm
blob: 2a18330bb4be3f4bb2c386d55b9310684aa4c245 (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
#!/bin/sh

set -e

case "${1}" in
	remove|upgrade|deconfigure)
		update-alternatives --quiet --remove container-tools_script /usr/share/container-tools/scripts/debootstrap
		update-alternatives --quiet --remove container-tools_script /usr/share/container-tools/scripts/debian
		update-alternatives --quiet --remove container-tools_script /usr/share/container-tools/scripts/progress-linux
		;;

	failed-upgrade)

		;;

	*)
		echo "prerm called with unknown argument \`${1}'" >&2
		exit 1
		;;
esac

#DEBHELPER#

exit 0