]> git.donarmstrong.com Git - infobot.git/blobdiff - src/CommandStubs.pl
- bah, was editting the comments in another xterm but ^C'd it and lost
[infobot.git] / src / CommandStubs.pl
index 7aec2a61eb684a20805f37cae4dbafaf9bce4d85..b94f4a40c68cf54e127f360feae6b8bfefb3742f 100644 (file)
@@ -753,7 +753,7 @@ sub lart {
 }
 
 sub DebianNew {
-    my $idx   = "debian/Packages-woody.idx";
+    my $idx   = "debian/Packages-sid.idx";
     my $error = 0;
     my %pkg;
     my @new;
@@ -762,7 +762,7 @@ sub DebianNew {
     $error++ unless ( -e "$idx-old");
 
     if ($error) {
-       $error = "no woody/woody-old index file found.";
+       $error = "no sid/sid-old index file found.";
        &ERROR("Debian: $error");
        &msg($who, $error);
        return;
@@ -785,7 +785,7 @@ sub DebianNew {
        next if (/^\*/);
        next if (exists $pkg{$_});
 
-       push(@new);
+       push(@new, $_);
     }
     close IDX1;