summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-11-12 07:54:23 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-11-12 07:54:23 +0000
commit39b5733d668dd2a0e2dbea2444bdd00fcd45cbb3 (patch)
treeb417c5c6636aa24e354aeec47747612d0f72ba18
parentUpdating upstream contact in copyright file. (diff)
downloadopen-infrastructure-compute-tools-39b5733d668dd2a0e2dbea2444bdd00fcd45cbb3.tar.xz
open-infrastructure-compute-tools-39b5733d668dd2a0e2dbea2444bdd00fcd45cbb3.zip
Adding curl container create script to alternative handling.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
-rw-r--r--debian/open-infrastructure-container-tools.postinst5
-rw-r--r--debian/open-infrastructure-container-tools.prerm3
2 files changed, 5 insertions, 3 deletions
diff --git a/debian/open-infrastructure-container-tools.postinst b/debian/open-infrastructure-container-tools.postinst
index 30af23f..3ba287e 100644
--- a/debian/open-infrastructure-container-tools.postinst
+++ b/debian/open-infrastructure-container-tools.postinst
@@ -39,8 +39,9 @@ Install ()
case "${1}" in
configure)
update-alternatives --quiet --install /usr/share/container-tools/scripts/default container-tools_script /usr/share/container-tools/scripts/debootstrap 1000
- update-alternatives --quiet --install /usr/share/container-tools/scripts/default container-tools_script /usr/share/container-tools/scripts/debian 3000
- update-alternatives --quiet --install /usr/share/container-tools/scripts/default container-tools_script /usr/share/container-tools/scripts/progress-linux 2000
+ update-alternatives --quiet --install /usr/share/container-tools/scripts/default container-tools_script /usr/share/container-tools/scripts/curl 2000
+ update-alternatives --quiet --install /usr/share/container-tools/scripts/default container-tools_script /usr/share/container-tools/scripts/progress-linux 3000
+ update-alternatives --quiet --install /usr/share/container-tools/scripts/default container-tools_script /usr/share/container-tools/scripts/debian 4000
. /usr/share/debconf/confmodule
diff --git a/debian/open-infrastructure-container-tools.prerm b/debian/open-infrastructure-container-tools.prerm
index 2a18330..3805a10 100644
--- a/debian/open-infrastructure-container-tools.prerm
+++ b/debian/open-infrastructure-container-tools.prerm
@@ -5,8 +5,9 @@ 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/curl
update-alternatives --quiet --remove container-tools_script /usr/share/container-tools/scripts/progress-linux
+ update-alternatives --quiet --remove container-tools_script /usr/share/container-tools/scripts/debian
;;
failed-upgrade)