X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fwanna-build;h=a9a2f69bb5a969ea7deccf509e705b4f1267063f;hb=bbf5ba2c5eda231336baa8047320a2ff32360a8a;hp=1de5e920a53155502dbafa70598a1458f5105721;hpb=acf0dc8eb1682cdc75384ed65395e1201cc7ee82;p=wannabuild.git diff --git a/bin/wanna-build b/bin/wanna-build index 1de5e92..a9a2f69 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -1892,13 +1892,14 @@ sub list_packages { 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" - if $verbose && $pkg->{'previous_state'}; - print " Previous state $pkg->{'previous_state'} left $pkg->{'state_time'} ago\n" + print " Previous state was $pkg->{'previous_state'}\n" if $verbose && $pkg->{'previous_state'}; print " No previous state recorded\n" if $verbose && !$pkg->{'previous_state'}; + print " State changed at $pkg->{'state_change'}\n" + if $verbose && $pkg->{'state_change'}; + print " Previous state $pkg->{'previous_state'} left $pkg->{'state_time'} ago\n" + if $verbose && $pkg->{'previous_state'}; print " Previous failing reasons:\n ", join("\n ",split("\n",$pkg->{'old_failed'})), "\n" if $verbose && $pkg->{'old_failed'};