]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Debian.pl
non-us fixed!
[infobot.git] / src / Modules / Debian.pl
index 09907ab6e8b58a07e2164bab173a28b41dade85c..9dfe2b8009dc084da78e472a4ef8737c62dcfaf0 100644 (file)
@@ -79,7 +79,6 @@ sub DebianDownload {
            my $last_refresh = (stat($file))[9];
            $update++ if (time() - $last_refresh > $refresh);
        } else {
-           &main::DEBUG("Debian: local '$file' does not exist.");
            $update++;
        }
 
@@ -101,6 +100,13 @@ sub DebianDownload {
 
            # error internally to ftp.
            # hope it doesn't do anything bad.
+           if ($file =~ /Contents-woody-i386-non-US/) {
+               &main::DEBUG("Skipping Contents-woody-i386-non-US.");
+               $file =~ s/woody/potato/;
+               $path =~ s/woody/potato/;
+###            next;
+           }
+
            if (!&main::ftpGet($host,$path,$thisfile,$file)) {
                &main::DEBUG("deb: down: ftpGet($host,$path,$thisfile,$file) == BAD.");
                $bad++;