From 83bba585b73fb2a92dbdf4b91bc4fd2c571b93e3 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Wed, 5 Oct 2005 20:18:53 +0000 Subject: Make --newuse switch on --update svn path=/main/branches/2.0/; revision=2112 --- bin/emerge | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/emerge b/bin/emerge index a8d817470..88b8878e0 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 -- cgit v1.2.3-1-g7c22