From: Stephen Seo Date: Sat, 4 Jun 2022 08:17:15 +0000 (+0900) Subject: Add path validation for "signingGPG" directory X-Git-Url: https://git.seodisparate.com/tbm-server-edit-damage-sources.png?a=commitdiff_plain;h=3ff09fc7a9da976263bf13d66f9b3364432be5f5;p=AnotherAURHelper Add path validation for "signingGPG" directory --- diff --git a/update.py b/update.py index 9797246..067a2ff 100755 --- a/update.py +++ b/update.py @@ -965,6 +965,9 @@ def validate_and_verify_paths(other_state): if not os.path.exists(other_state['gpg_home']): log_print(f"ERROR: checkingGPG at "{other_state['gpg_home']}" does not exist") sys.exit(1) + if 'signing_gpg_dir' in other_state and not os.path.exists(other_state['signing_gpg_dir']): + log_print(f"ERROR: signingGPG at "{other_state['signing_gpg_dir']}" does not exist") + sys.exit(1) log_print("Ensuring logs directory exists...") if other_state['logs_dir'] is None: log_print('ERROR: "logs_dir" was not specified!')