From 7ff271a158f2e32381e35fa47947e29a3874d158 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 15 Nov 2016 13:19:35 +0100 Subject: Using https by default in container-images.sh example script. Signed-off-by: Daniel Baumann --- share/doc/examples/container-images.sh | 2 +- share/scripts/curl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/doc/examples/container-images.sh b/share/doc/examples/container-images.sh index 74e7ee0..b743f57 100755 --- a/share/doc/examples/container-images.sh +++ b/share/doc/examples/container-images.sh @@ -10,7 +10,7 @@ set -e ARCHITECTURES="amd64 i386" DISTRIBUTIONS="stretch sid" -MIRROR="http://deb.debian.org/debian" +MIRROR="https://deb.debian.org/debian" INCLUDE="dbus" DATE="$(date +%Y%m%d)" diff --git a/share/scripts/curl b/share/scripts/curl index b80fcc1..b84869c 100755 --- a/share/scripts/curl +++ b/share/scripts/curl @@ -149,7 +149,7 @@ fi if curl -V | grep -qs http2 then - CURL_OPTIONS="${CURL_OPTIONS} --https" + CURL_OPTIONS="${CURL_OPTIONS} --http2" fi curl --fail --location --progress-bar --user-agent container-tools/${VERSION} ${CURL_OPTIONS} \ -- cgit v1.2.3