From: dms Date: Wed, 13 Sep 2000 13:38:00 +0000 (+0000) Subject: non-us fixed! X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=383410874b242a4ecc666df71d39aeb7c15c9b7d;p=infobot.git non-us fixed! git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@90 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/Debian.pl b/src/Modules/Debian.pl index 09907ab..9dfe2b8 100644 --- a/src/Modules/Debian.pl +++ b/src/Modules/Debian.pl @@ -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++;