diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-17 19:22:33 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-17 19:22:33 +0200 |
commit | 903a173b393d148c544fdfefa0d6e4056acffbfe (patch) | |
tree | c9cde8f765a8153eb9acb401bc5410d916023e54 | |
parent | 567b4d0af97e163957dd71f0a5b6a81a0b78b2b7 (diff) |
bin/apt-why: Show some package information
-rwxr-xr-x | bin/apt-why | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/apt-why b/bin/apt-why index ed1e0a2..821f625 100755 --- a/bin/apt-why +++ b/bin/apt-why @@ -104,6 +104,11 @@ sub print_deps { } } +print "State: $package->{CurrentState}\n"; +if ($package->{Flags} =~ /Essential/) { + print "Essential: yes\n"; +} + if ($not) { print_deps(why_not($package->{RevDependsList})); } else { |