From fcdbf0fe9b1c5d090dc175907a0ea5d91d3bd0ef Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 2 Nov 2019 15:58:49 +0100 Subject: [PATCH] libnetwork.lib: more support for https --- lib/libnetwork.lib.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libnetwork.lib.in b/lib/libnetwork.lib.in index 332da6b..363d349 100644 --- a/lib/libnetwork.lib.in +++ b/lib/libnetwork.lib.in @@ -233,7 +233,7 @@ ${proxy:+ --proxy ***}${proxy_user:+ --proxy-user ***}" getting list of files from"" \`${NOTE}$currurl/${NORM}'..." case $currurl in - ftp://*|http://*) ;; + ftp://*|http://*|https://*) ;; *) notify.warning $"unsupported query type for this protocol" let "errors += 1" continue ;; @@ -281,7 +281,7 @@ getting list of files from"" \`${NOTE}$currurl/${NORM}'..." got_SPEC_FILENAME=($(\ repository.get_srpm_pckname_from_site --ftp "$pck_name" "${flist[$i]}")) ;; - http://*) + http://*|https://*) got_SPEC_FILENAME=($(\ repository.get_srpm_pckname_from_site --html "$pck_name" "${flist[$i]}")) ;; @@ -444,7 +444,7 @@ ${proxy:+ --proxy ***}${proxy_user:+ --proxy-user ***}" if [ -s "$flist" ]; then sed -i 's/\x0D$//' $flist case $currurl in - ftp://*|http://*) + ftp://*|http://*|https://*) for pck_name in ${pck_names[@]}; do got_RPM_FILENAME=( ${got_RPM_FILENAME[@]} $(\ if [ -n "$excludeopt" ]; then