]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Fix the distributions
authorLuk Claes <luk@raff.debian.org>
Sat, 29 Nov 2008 10:35:21 +0000 (10:35 +0000)
committerLuk Claes <luk@raff.debian.org>
Sat, 29 Nov 2008 10:35:21 +0000 (10:35 +0000)
bin/wanna-build-statistics
bin/wb-graph

index 70a689f3fc835c0613c00288e595fd2472c38376..a7cb158b69a3c5ab375080da2d95e54f9af30e46 100755 (executable)
@@ -59,7 +59,7 @@ while( @ARGV && $ARGV[0] =~ /^-/ ) {
                $dist = "stable"   if $dist eq "s";
                $dist = "testing"  if $dist eq "t";
                $dist = "unstable" if $dist eq "u";
-               die "Bad distribution\n" if !isin($dist, qw(stable testing unstable stable-security testing-security));
+               die "Bad distribution\n" if !isin($dist, qw(stable testing unstable stable-security testing-security oldstable oldstable-security));
        }
        elsif (/^--$/) {
                last;
index 1a65dbc1bc4c8dfa5e1306fae2b25461ec4c08f0..941938031ddc707cc076301af181f0ffaee171ac 100755 (executable)
@@ -19,10 +19,11 @@ while( @ARGV && $ARGV[0] =~ /^-/ ) {
                else {
                        $dist = shift @ARGV;
                }
-               $dist = "stable"   if $dist eq "s";
-               $dist = "frozen"   if $dist eq "f";
-               $dist = "unstable" if $dist eq "u";
-               die "Bad distribution\n" if !isin($dist, qw(stable testing unstable));
+               $dist = "oldstable" if $dist eq "o";
+               $dist = "stable"    if $dist eq "s";
+               $dist = "tesing"    if $dist eq "t";
+               $dist = "unstable"  if $dist eq "u";
+               die "Bad distribution\n" if !isin($dist, qw(oldstable stable testing unstable));
        }
        elsif (/^--$/) {
                last;