summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-12-27 02:19:48 (GMT)
committerJoey Hess <joey@kitenet.net>2013-12-27 02:19:48 (GMT)
commit230dd6cae574a5d75e1100e3de2b71eb491822f4 (patch)
treeae1907359360ee9a60f637deba38ad6519d71f33 /functions
parente6380aad7870678bd23a9f4e23beb73c2b20d79c (diff)
downloaddebootstrap-230dd6cae574a5d75e1100e3de2b71eb491822f4.zip
debootstrap-230dd6cae574a5d75e1100e3de2b71eb491822f4.tar.gz
debootstrap-230dd6cae574a5d75e1100e3de2b71eb491822f4.tar.bz2
Avoid writing https urls into sources.list, as apt does not support https.
When a https url is used, fall back to the default mirror for sources.list.
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 572a50d..0619261 100644
--- a/functions
+++ b/functions
@@ -202,7 +202,7 @@ keyring () {
elif [ -z "$DISABLE_KEYRING" ]; then
if [ -n "$DEF_HTTPS_MIRROR" ] && [ -z "$USER_MIRROR" ] ; then
info KEYRING "Keyring file not available at %s; switching to https mirror %s" "$1" "$DEF_HTTPS_MIRROR"
- DEF_MIRROR="$DEF_HTTPS_MIRROR"
+ USER_MIRROR="$DEF_HTTPS_MIRROR"
else
warning KEYRING "Cannot check Release signature; keyring file not available %s" "$1"
fi