From: dms Date: Fri, 24 Nov 2000 14:02:05 +0000 (+0000) Subject: typo X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=4ab29e93b9984d3e3dfc7f8334f7c2c86ebbb34b;p=infobot.git typo git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@173 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/Debian.pl b/src/Modules/Debian.pl index 1798a40..d7fbdf0 100644 --- a/src/Modules/Debian.pl +++ b/src/Modules/Debian.pl @@ -74,6 +74,7 @@ sub DebianDownload { # fe dists. # Download the files. my $file; +## my %ret; foreach $file (keys %urls) { my $url = $urls{$file}; $url =~ s/##DIST/$dist/g; @@ -132,6 +133,7 @@ sub DebianDownload { } &main::DEBUG("deb: download: good."); +## $ret{$ $good++; } else { &main::ERROR("Debian: invalid format of url => ($url)."); @@ -233,7 +235,7 @@ sub searchContents { next unless ($basename =~ /\Q$query\E/); } next if ($query !~ /\.\d\.gz/ and $file =~ /\/man\//); - next unless ($front and $file =~ /^\/\Q$query\E/); + next if ($front and $file !~ /^\/\Q$query\E/); $contents{$package}{$file} = 1; $found++;