From: Kurt Roeckx Date: Sun, 6 Mar 2011 10:08:05 +0000 (+0000) Subject: Make --give-back go to BD-Uninstallable again. X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=commitdiff_plain;h=99f9f5799c5f03ba10e862f765e02f33fa721872 Make --give-back go to BD-Uninstallable again. Since we changed from unstable to sid, this of course broke. Check for the auto-depwait setting instead. --- diff --git a/bin/wanna-build b/bin/wanna-build index 96bd10f..098882d 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -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 {