diff options
| author | Chris Lumens <clumens@redhat.com> | 2012-09-13 10:57:11 -0400 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2012-09-14 13:13:53 -0400 |
| commit | 5e02efea4e969518053ebdf6d71dc82fe0b474d2 (patch) | |
| tree | 13a31c76e8679225681609f8c7f3a71f6f6c919d /scripts | |
| parent | 5d7bd62a918305c2ed50c1c2e3c4f4dc8b021d13 (diff) | |
| download | anaconda-5e02efea4e969518053ebdf6d71dc82fe0b474d2.tar.gz anaconda-5e02efea4e969518053ebdf6d71dc82fe0b474d2.tar.xz anaconda-5e02efea4e969518053ebdf6d71dc82fe0b474d2.zip | |
Don't fail when making updates if the symlink already exists.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/makeupdates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makeupdates b/scripts/makeupdates index 14105d384..145e398b9 100755 --- a/scripts/makeupdates +++ b/scripts/makeupdates @@ -242,7 +242,7 @@ def copyUpdatedWidgets(updates, cwd): files = ["libAnacondaWidgets.so", "libAnacondaWidgets.so.0", "libAnacondaWidgets.so.0.0.0"] for f in files: path = os.path.normpath(cwd + "/widgets/src/.libs/" + f) - if os.path.islink(path): + if os.path.islink(path) and not os.path.exists(updates + libdir + os.path.basename(path)): os.symlink(os.readlink(path), updates + libdir + os.path.basename(path)) elif os.path.isfile(path): shutil.copy2(path, updates + libdir) |
