diff options
author | Joey Hess <joey@kitenet.net> | 2013-12-27 02:19:48 (GMT) |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-12-27 02:19:48 (GMT) |
commit | 230dd6cae574a5d75e1100e3de2b71eb491822f4 (patch) | |
tree | ae1907359360ee9a60f637deba38ad6519d71f33 /functions | |
parent | e6380aad7870678bd23a9f4e23beb73c2b20d79c (diff) | |
download | debootstrap-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-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |