From 08267025b4912e2ea2c67a2c1cb410747d066357 Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 31 Dec 2021 17:06:44 +0100 Subject: [PATCH] [cli] Stop adding registry entries that already exist --- legendary/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 4a7d9ea..9a679d2 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -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.')