|
|
@ -47,8 +47,7 @@ def main():
|
|
|
|
if os.path.exists(config_path):
|
|
|
|
if os.path.exists(config_path):
|
|
|
|
if os.path.islink(config_path):
|
|
|
|
if os.path.islink(config_path):
|
|
|
|
if os.path.realpath(config_path) != file_path:
|
|
|
|
if os.path.realpath(config_path) != file_path:
|
|
|
|
log(config_path, ("already a link '%s'" %
|
|
|
|
pass
|
|
|
|
os.path.realpath(config_path)))
|
|
|
|
|
|
|
|
elif os.path.isfile(config_path):
|
|
|
|
elif os.path.isfile(config_path):
|
|
|
|
log(config_path, 'existing file, consider merge')
|
|
|
|
log(config_path, 'existing file, consider merge')
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|