]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/version.cgi
* Start documenting the global names of variables in Debbugs::Config
[debbugs.git] / cgi / version.cgi
index 139260a9f7f4114c65a635bb56db57745f147410..338075f985cea9e87c73d08c80ca0b2e08f6e7dc 100755 (executable)
@@ -47,7 +47,7 @@ my %cgi_var = cgi_parameters(query   => $q,
 # then figure out which versions are there in which architectures,
 my %versions;
 my %version_to_dist;
-for my $dist (qw(oldstable stable testing unstable experimental)) {
+for my $dist (@{$config{distributions}}) {
      $versions{$dist} = [getversions($cgi_var{package},$dist)];
      # make version_to_dist
      foreach my $version (@{$versions{$dist}}){