diff options
author | Chris Lumens <clumens@redhat.com> | 2010-02-16 09:33:28 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-16 09:33:28 -0500 |
commit | 79d7fc33732181bc56a453a796b9d1c9254c96f2 (patch) | |
tree | 6aef5c4ef424edb9e629aab9b4f961ea24e7207e | |
parent | 51dc8f2742a4faceacdd86e7ce308209263ec7d7 (diff) | |
download | anaconda-79d7fc33732181bc56a453a796b9d1c9254c96f2.tar.gz anaconda-79d7fc33732181bc56a453a796b9d1c9254c96f2.tar.xz anaconda-79d7fc33732181bc56a453a796b9d1c9254c96f2.zip |
Check for the updates directory before using it (#565840).
-rwxr-xr-x | anaconda | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -115,6 +115,9 @@ def doShutdownX11Actions(): def setupPythonUpdates(): from distutils.sysconfig import get_python_lib + if not os.path.exists("/tmp/updates"): + return + for pkg in os.listdir("/tmp/updates"): d = "/tmp/updates/%s" % pkg |