diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-20 15:00:43 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-20 15:00:43 +0100 |
commit | 99b0d9c91d4dcf133039aca593b31d1c88780025 (patch) | |
tree | 1f9892b5a12a20208e8db424305f8b696b42f905 /createarchdeps | |
parent | 48c10c9388f398274784cb13eaf1945fa8a0573c (diff) |
support ftps in all createdeps helpers
Diffstat (limited to 'createarchdeps')
-rwxr-xr-x | createarchdeps | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/createarchdeps b/createarchdeps index 5dc751c..94efdb1 100755 --- a/createarchdeps +++ b/createarchdeps @@ -46,7 +46,7 @@ GetOptions("cachedir=s" => \$cachedir) or exit(1); for my $url (@ARGV) { - die("Not an Archlinux repo") unless $url =~ /^(:?ftp|https?):\/\/([^\/]*)\/?/; + die("Not an Archlinux repo") unless $url =~ /^(:?ftps?|https?):\/\/([^\/]*)\/?/; my $reponame = getreponame($url); my $repoid = Digest::MD5::md5_hex($url); my $dir = "$cachedir/$repoid"; |