mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Stop adding registry entries that already exist
This commit is contained in:
parent
9469d3cb6f
commit
08267025b4
|
@ -2078,6 +2078,9 @@ class LegendaryCLI:
|
|||
if os.path.normpath(old_path) != install_path:
|
||||
logger.info(f'Updating overlay registry entries from "{old_path}" to "{install_path}"')
|
||||
remove_registry_entries()
|
||||
else:
|
||||
logger.info(f'Registry entries already exist. Done.')
|
||||
return
|
||||
add_registry_entries(install_path)
|
||||
logger.info('Done.')
|
||||
|
||||
|
|
Loading…
Reference in a new issue