summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 98b8478a8..a2245892a 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -1169,7 +1169,8 @@ def emerge_main():
if rval != os.EX_OK:
return rval
- if portage._global_updates(trees, mtimedb["updates"]):
+ if myaction not in ('help', 'info', 'version') and \
+ portage._global_updates(trees, mtimedb["updates"]):
mtimedb.commit()
# Reload the whole config from scratch.
settings, trees, mtimedb = load_emerge_config(trees=trees)