]> git.donarmstrong.com Git - infobot.git/commitdiff
typo
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 24 Nov 2000 14:02:05 +0000 (14:02 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 24 Nov 2000 14:02:05 +0000 (14:02 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@173 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/Debian.pl

index 1798a401e62f79c7f632b38064cf100c1bfc92ea..d7fbdf0f972c8159d339b172423449c6588c66a6 100644 (file)
@@ -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++;