From ee3d6ee0b954bd5a9f0f90f33f51d4141e1e9b60 Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Wed, 2 Nov 2011 08:57:24 +0100 Subject: [PATCH] Add support for ftp --- masterlist2mirmon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/masterlist2mirmon b/masterlist2mirmon index f191686..ff33375 100755 --- a/masterlist2mirmon +++ b/masterlist2mirmon @@ -28,4 +28,9 @@ while (my $line = <$fh>) { foreach my $mirror (@mirrors) { my ($c, $r) = split (/ +/, $mirror->{'country'}); printf ("%s http://%s%s\n", $c, $mirror->{'site'}, $mirror->{'grml-http'}); + if ($mirror->{'grml-ftp'}) { + printf ("%s ftp://%s%s\n", $c, $mirror->{'site'}, $mirror->{'grml-ftp'}); + } + + } -- 2.1.4