aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--qarepo2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 9e7aaf6..5f4076b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- support https in repository URLs
+
1.6:
- use polkit for authentication instead of sudo
diff --git a/qarepo b/qarepo
index b7629d7..8efc35d 100644
--- a/qarepo
+++ b/qarepo
@@ -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;