]> git.donarmstrong.com Git - infobot.git/commitdiff
non-us fixed!
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 13 Sep 2000 13:38:00 +0000 (13:38 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 13 Sep 2000 13:38:00 +0000 (13:38 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@90 c11ca15a-4712-0410-83d8-924469b57eb5

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++;