summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-10-06 14:10:05 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-10-06 14:10:05 +0000
commit37230db9168bcacce58ad663e464951de75b6ddd (patch)
treef69fa3fcee7373135d6e8a0486858b4d917eed8f /bin
parent83bba585b73fb2a92dbdf4b91bc4fd2c571b93e3 (diff)
downloadportage-37230db9168bcacce58ad663e464951de75b6ddd.tar.gz
portage-37230db9168bcacce58ad663e464951de75b6ddd.tar.bz2
portage-37230db9168bcacce58ad663e464951de75b6ddd.zip
Restore the old behaviour that was dropped in the big refactoring by making --update implied by world or system targets.
svn path=/main/branches/2.0/; revision=2114
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 88b8878e0..809ce7022 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -649,7 +649,7 @@ if not "--pretend" in myopts:
myparams=["self","recurse"]
add=[]
sub=[]
-if "--update" in myopts:
+if "--update" in myopts or myaction in ("system", "world"):
add.extend(["selective","empty"])
if "--emptytree" in myopts:
add.extend(["empty"])