libnetwork.lib: more support for https
This commit is contained in:
parent
b476080461
commit
fcdbf0fe9b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user