diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-09-21 07:44:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-09-21 07:44:05 +0000 |
commit | ed131a813b8d2e65e27ba05de0c69aa900619a76 (patch) | |
tree | 26f4c5d3e1388c09ea5fce407c8150d908dda20c | |
parent | 418ed146690f78de8a3057149282627dca54aaff (diff) | |
download | portage-ed131a813b8d2e65e27ba05de0c69aa900619a76.tar.gz portage-ed131a813b8d2e65e27ba05de0c69aa900619a76.tar.bz2 portage-ed131a813b8d2e65e27ba05de0c69aa900619a76.zip |
Prevent --update and/or --deep style behavior when the user hasn't specified them. In these cases a full depgraph isn't desired and we have to ignore the installed deps that are now returned from dep_check.
svn path=/main/trunk/; revision=4492
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index 118de5aec..2b741d4be 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1108,6 +1108,11 @@ class depgraph: else: #We are not processing a blocker but a normal dependency if not arg: + if "empty" not in self.myparams and \ + "deep" not in self.myparams and \ + vardb.match(x): + continue + pkg_key = portage.dep_getkey(x) if pkg_key in pkgsettings.pprovideddict and \ portage.match_from_list( |