From: dms Date: Tue, 6 Feb 2001 13:10:35 +0000 (+0000) Subject: Fixed by swapping dists hash around. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=229d48c685d1ae9fbc07bd65cdd7d96993f9d359;p=infobot.git Fixed by swapping dists hash around. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@356 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/Debian.pl b/src/Modules/Debian.pl index 39d7dea..0f4b620 100644 --- a/src/Modules/Debian.pl +++ b/src/Modules/Debian.pl @@ -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;