summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-11-30 19:22:29 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-11-30 19:22:29 +0100
commita02f24e046d58b723a9283211cb558605a024bdf (patch)
tree57792c3e0ad9166484f96747675f51fa5e4f7064 /cmdline
parent0dc05bf095ebe2908f7d9096b3914b8c988c023e (diff)
show dependencies of essential packages which are going to remove
only if they cause the remove of this essential (Closes: #601961)
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index ca037c5c7..ca510178a 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -538,7 +538,9 @@ bool ShowEssential(ostream &out,CacheFile &Cache)
//VersionsList += string(Cache[I].CurVersion) + "\n"; ???
}
}
-
+ else
+ continue;
+
if (I->CurrentVer == 0)
continue;