]> git.donarmstrong.com Git - infobot.git/commitdiff
Fixed by swapping dists hash around.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 6 Feb 2001 13:10:35 +0000 (13:10 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 6 Feb 2001 13:10:35 +0000 (13:10 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@356 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/Debian.pl

index 39d7dea5cc0ca9596d5bad8f158ce393be2d2b3f..0f4b620458511ca68b81206340326a4517db3879 100644 (file)
@@ -16,9 +16,9 @@ my $refresh = &::getChanConfDefault("debianRefreshInterval",7)
                        * 60 * 60 * 24;
 
 my %dists      = (
-       "unstable"      => "sid",
-       "testing"       => "woody",     # new since 20001219.
-       "stable"        => "potato",
+       "sid"           => "unstable",
+       "woody"         => "testing",   # new since 20001219.
+       "potato"        => "stable",
        "incoming"      => "incoming",
 );
 
@@ -812,7 +812,7 @@ sub infoStats {
 # Usage: &generateIndex();
 sub generateIndex {
     my (@dists)        = @_;
-    &::status("Debian: !!! generateIndex() called !!!");
+    &::status("Debian: !!! generateIndex($dists[0]) called !!!");
     if (!scalar @dists or $dists[0] eq '') {
        &::ERROR("gI: no dists to generate index.");
        return 1;