From: Zac Medico Date: Wed, 6 Sep 2006 17:04:36 +0000 (-0000) Subject: Allow env_update to work if there are broken symlinks in /etc/env.d/. See bug #146412. X-Git-Tag: v2.1.1~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=acf30bf50b7260c2f004226fe9b0e3f0ea1f701c;p=portage.git Allow env_update to work if there are broken symlinks in /etc/env.d/. See bug #146412. svn path=/main/trunk/; revision=4416 --- diff --git a/pym/portage.py b/pym/portage.py index f94870b87..ef6f32c9c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -501,8 +501,9 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None): del e continue if myconfig is None: - # file removed by a concurrent process - raise portage_exception.FileNotFound(file_path) + # broken symlink or file removed by a concurrent process + writemsg("!!! File Not Found: '%s'\n" % file_path, noiselevel=-1) + continue # process PATH, CLASSPATH, LDPATH for myspec in specials.keys(): if myconfig.has_key(myspec):