diff options
-rwxr-xr-x | bin/emerge | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index 34115f689..66f1d0eb0 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2878,6 +2878,13 @@ if myaction in ["sync","rsync","metadata"] and (not "--help" in myopts): chk_updated_cfg_files() + if myaction != "metadata": + if os.access(portage.USER_CONFIG_PATH + "/bin/post_sync", os.X_OK): + try: + portage.spawn(portage.USER_CONFIG_PATH + "/bin/post_sync " + dosyncuri, portage.settings, free=1) + except: + print red(" * ")+bold("spawn failed of "+ portage.USER_CONFIG_PATH + "/bin/post_sync") + if(mybestpv != mypvs) and not "--quiet" in myopts: print print red(" * ")+bold("An update to portage is available.")+" It is _highly_ recommended" |