summaryrefslogtreecommitdiffstats
path: root/scripts/makeupdates
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makeupdates')
-rwxr-xr-xscripts/makeupdates2
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)