summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-10-05 20:18:53 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-10-05 20:18:53 +0000
commit83bba585b73fb2a92dbdf4b91bc4fd2c571b93e3 (patch)
treec4d1e0eb53f7ca31caa0386e40b1f352d3781b55
parentReverting behaviour of ebuild when FEATURES="-noauto" (diff)
downloadportage-multirepo-83bba585b73fb2a92dbdf4b91bc4fd2c571b93e3.tar.gz
portage-multirepo-83bba585b73fb2a92dbdf4b91bc4fd2c571b93e3.tar.bz2
portage-multirepo-83bba585b73fb2a92dbdf4b91bc4fd2c571b93e3.zip
Make --newuse switch on --update
svn path=/main/branches/2.0/; revision=2112
-rwxr-xr-xbin/emerge4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index a8d81747..88b8878e 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -354,6 +354,10 @@ if ("--getbinpkg" in myopts) and not ("--usepkg" in myopts):
if ("--usepkgonly" in myopts) and not ("--usepkg" in myopts):
myopts.append("--usepkg")
+if ("--newuse" in myopts) and not ("--update" in myopts):
+ print ">>> --newuse implies --update... adding --update to options."
+ myopts.append("--update")
+
# Print deprecation warning for -U
if ("--upgradeonly" in myopts):
print