summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)