]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/www_post.py
Fix www_post failure
[lilypond.git] / buildscripts / www_post.py
index 26cd613e4cdad36764c976bb424b124bc1638b08..e27aeb7d2ee02807205ba95507c793026dff18a4 100644 (file)
@@ -78,7 +78,9 @@ for t in targets:
         os.link (f, strip_file_name[t] (f))
     for l in symlinks:
         p = mirrortree.new_link_path (os.path.normpath (os.readlink (l)), os.path.dirname (l), strip_re)
-        os.symlink (p, strip_file_name[t] (l))
+        dest = strip_file_name[t] (l)
+        if not os.path.exists (dest):
+            os.symlink (p, dest)
 
 # need this for content negotiation with documentation index
 if 'online' in targets: