From 6193d9f9c4457e61c43c71f5838baf656217ae01 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Jul 2007 06:48:32 +0000 Subject: [PATCH] Make --update imply --oneshot since people often us it to update things when they don't want to add them to world. Thanks to jakub for the suggestion. (trunk r7349) svn path=/main/branches/2.1.2/; revision=7350 --- bin/emerge | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/emerge b/bin/emerge index 84cd16a5d..988580c43 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1650,7 +1650,9 @@ class depgraph: greedy_atoms.append((myarg, myslot_atom)) arg_atoms = greedy_atoms - oneshot = "--oneshot" in self.myopts or "--onlydeps" in self.myopts + oneshot = "--oneshot" in self.myopts or \ + "--onlydeps" in self.myopts or \ + "--update" in self.myopts """ These are used inside self.create() in order to ensure packages that happen to match arguments are not incorrectly marked as nomerge.""" args_set = self._sets["args"] -- 2.26.2