diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-04-26 19:05:18 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-04-26 19:05:18 +0000 |
commit | eec8d07d1d4575dc9900646aedfbe9abc10d9194 (patch) | |
tree | c2d383da133b00d89cd024a8313f7546c6c10075 | |
parent | 7e36c5c3e44f034d155a913158ad0ab1adb76350 (diff) | |
download | anaconda-eec8d07d1d4575dc9900646aedfbe9abc10d9194.tar.gz anaconda-eec8d07d1d4575dc9900646aedfbe9abc10d9194.tar.xz anaconda-eec8d07d1d4575dc9900646aedfbe9abc10d9194.zip |
2006-04-26 Jeremy Katz <katzj@redhat.com>
* anaconda: Don't symlink things that don't exist.
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | anaconda | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2006-04-26 Jeremy Katz <katzj@redhat.com> + * anaconda: Don't symlink things that don't exist. + * packages.py (setupTimezone): Don't change timezone on rootpath (Jane Dogalt, #185930) @@ -579,7 +579,8 @@ if rhpl.getArch() == "s390": # setup links required for all install types for i in ( "services", "protocol", "nsswitch.conf", "joe", "selinux", "libuser.conf"): try: - os.symlink ("../mnt/runtime/etc/" + i, "/etc/" + i) + if os.path.exists("/mnt/runtime/etc/" + i): + os.symlink ("../mnt/runtime/etc/" + i, "/etc/" + i) except: pass |