File: open-infrastructure-container-tools.prerm

package info (click to toggle)
open-infrastructure-container-tools 20161101-lts2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,588 kB
  • ctags: 61
  • sloc: sh: 3,058; makefile: 138
file content (24 lines) | stat: -rw-r--r-- 518 bytes parent folder | download
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