diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2023-09-30 09:21:42 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2023-09-30 09:21:42 +0100 |
commit | bb45da5ab4f0bdb6468809e4dfb223f57533d2ec (patch) | |
tree | 7e918e6731bdf81f06df3011c08ff4cafb932fa6 | |
parent | 78fb6be614b967dee9adc59085d538ae70a42916 (diff) | |
download | qarepo-bb45da5ab4f0bdb6468809e4dfb223f57533d2ec.tar qarepo-bb45da5ab4f0bdb6468809e4dfb223f57533d2ec.tar.gz qarepo-bb45da5ab4f0bdb6468809e4dfb223f57533d2ec.tar.bz2 qarepo-bb45da5ab4f0bdb6468809e4dfb223f57533d2ec.tar.xz qarepo-bb45da5ab4f0bdb6468809e4dfb223f57533d2ec.zip |
Support https in repository URLs (mga#32333).
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | qarepo | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- support https in repository URLs + 1.6: - use polkit for authentication instead of sudo @@ -509,7 +509,7 @@ sub sync_repo { my $sync_file; if ($mirror =~ /^rsync:/) { $sync_file = \&sync_file_rsync; - } elsif ($mirror =~ /^ftp:/ || $mirror =~ /^http:/) { + } elsif ($mirror =~ /^ftp:/ || $mirror =~ /^https?:/) { $sync_file = \&sync_file_aria2; } elsif ($mirror !~ /^\w+:/) { $sync_file = \&sync_file_link; |