From 885589161aa887dd178aa99f51d8168e0497fc26 Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Thu, 30 Jul 2009 12:24:48 +0200 Subject: [PATCH] wanna-build --list: Format BD-Problem like Failed reasons This prepares a corresponding change in status.git --- bin/wanna-build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/wanna-build b/bin/wanna-build index 00ca7c4..277273c 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -1883,7 +1883,8 @@ sub list_packages { if $pkg->{'State'} =~ /^Failed/; print " Dependencies: $pkg->{'Depends'}\n" if $pkg->{'State'} eq "Dep-Wait"; - print " Reason: $pkg->{'BD-Problem'}\n" + print " Reasons for BD-Uninstallable:\n ", + join("\n ",split("\n",$pkg->{'BD-Problem'})), "\n" if $pkg->{'State'} eq "BD-Uninstallable"; print " Previous state was $pkg->{'Previous-State'} until ", "$pkg->{'State-Change'}\n" -- 2.39.5