mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Have later syncfiles entries supersede earlier
This allows a vague entry to be followed by a specific entry to allow 'common' content and then a specific override.
This commit is contained in:
parent
aa816c0f1d
commit
8d5d8ef5ed
@ -243,6 +243,8 @@ def mkpathorlink(source, destination, appendexist=False):
|
||||
realdest.write(sourcedata.read())
|
||||
os.remove(tmpnam)
|
||||
else:
|
||||
if os.path.islink(destination):
|
||||
os.remove(destination)
|
||||
os.symlink(source, destination)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user