Commit fcdbf0fe9b1c5d090dc175907a0ea5d91d3bd0ef

Authored by Silvan Calarco
1 parent b476080461
Exists in master

libnetwork.lib: more support for https

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

lib/libnetwork.lib.in
... ... @@ -233,7 +233,7 @@
233 233 getting list of files from"" \`${NOTE}$currurl/${NORM}'..."
234 234  
235 235 case $currurl in
236   - ftp://*|http://*) ;;
  236 + ftp://*|http://*|https://*) ;;
237 237 *) notify.warning $"unsupported query type for this protocol"
238 238 let "errors += 1"
239 239 continue ;;
... ... @@ -281,7 +281,7 @@
281 281 got_SPEC_FILENAME=($(\
282 282 repository.get_srpm_pckname_from_site --ftp "$pck_name" "${flist[$i]}"))
283 283 ;;
284   - http://*)
  284 + http://*|https://*)
285 285 got_SPEC_FILENAME=($(\
286 286 repository.get_srpm_pckname_from_site --html "$pck_name" "${flist[$i]}"))
287 287 ;;
... ... @@ -444,7 +444,7 @@
444 444 if [ -s "$flist" ]; then
445 445 sed -i 's/\x0D$//' $flist
446 446 case $currurl in
447   - ftp://*|http://*)
  447 + ftp://*|http://*|https://*)
448 448 for pck_name in ${pck_names[@]}; do
449 449 got_RPM_FILENAME=( ${got_RPM_FILENAME[@]} $(\
450 450 if [ -n "$excludeopt" ]; then