summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-03-02 10:12:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-03-02 10:39:34 +0000
commit4cc8385a5262770fa1db7504d1b52d2f0352ea16 (patch)
tree2365a8c77aa175fad629164ebcb951881beb8c1e
parentUpdating packaging for curl script removal. (diff)
downloadopen-infrastructure-compute-tools-4cc8385a5262770fa1db7504d1b52d2f0352ea16.tar.xz
open-infrastructure-compute-tools-4cc8385a5262770fa1db7504d1b52d2f0352ea16.zip
Adding mmdebstrap to alternative handling.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/open-infrastructure-container-tools.postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/open-infrastructure-container-tools.postinst b/debian/open-infrastructure-container-tools.postinst
index 9424b23..90d9885 100755
--- a/debian/open-infrastructure-container-tools.postinst
+++ b/debian/open-infrastructure-container-tools.postinst
@@ -40,6 +40,7 @@ Install ()
case "${1}" in
configure)
+ update-alternatives --quiet --install /usr/share/open-infrastructure/container/scripts/default container_script /usr/share/open-infrastructure/container/scripts/mmdebstrap 1000
update-alternatives --quiet --install /usr/share/open-infrastructure/container/scripts/default container_script /usr/share/open-infrastructure/container/scripts/debootstrap 2000
update-alternatives --quiet --install /usr/share/open-infrastructure/container/scripts/default container_script /usr/share/open-infrastructure/container/scripts/progress-linux 3000
update-alternatives --quiet --install /usr/share/open-infrastructure/container/scripts/default container_script /usr/share/open-infrastructure/container/scripts/debian 4000