git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@90
c11ca15a-4712-0410-83d8-
924469b57eb5
my $last_refresh = (stat($file))[9];
$update++ if (time() - $last_refresh > $refresh);
} else {
my $last_refresh = (stat($file))[9];
$update++ if (time() - $last_refresh > $refresh);
} else {
- &main::DEBUG("Debian: local '$file' does not exist.");
# error internally to ftp.
# hope it doesn't do anything bad.
# 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++;
if (!&main::ftpGet($host,$path,$thisfile,$file)) {
&main::DEBUG("deb: down: ftpGet($host,$path,$thisfile,$file) == BAD.");
$bad++;