]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Make --give-back go to BD-Uninstallable again.
authorKurt Roeckx <kurt@roeckx.be>
Sun, 6 Mar 2011 10:08:05 +0000 (10:08 +0000)
committerKurt Roeckx <kurt@roeckx.be>
Sun, 6 Mar 2011 10:08:05 +0000 (10:08 +0000)
Since we changed from unstable to sid, this of course broke.  Check
for the auto-depwait setting instead.

bin/wanna-build

index 96bd10f41e8fa85d4790491a853595db32a785b4..098882d12c60e2a1e1640078cf4f277ced7db224 100755 (executable)
@@ -1121,7 +1121,7 @@ sub add_one_needsbuild {
                          "Skipping.\n";
                return;
        }
-       if ($distribution eq "unstable") {
+       if (!defined $distributions{$distribution}{noadw}) {
                change_state( \$pkg, 'BD-Uninstallable' );
                $pkg->{'bd_problem'} = "Installability of build dependencies not tested yet";
        } else {