From bb45da5ab4f0bdb6468809e4dfb223f57533d2ec Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 30 Sep 2023 09:21:42 +0100 Subject: Support https in repository URLs (mga#32333). --- NEWS | 2 ++ qarepo | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.1