aboutsummaryrefslogtreecommitdiffstats
path: root/qarepo
diff options
context:
space:
mode:
Diffstat (limited to 'qarepo')
-rw-r--r--qarepo2
1 files changed, 1 insertions, 1 deletions
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;