From 8764de14c960763da45d9fd5fd7c0475292ca076 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 6 Jul 2020 22:23:52 +0200 Subject: Renaming deployments to profiles --- archinstall/lib/profiles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall/lib/profiles.py') diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index a4129083..653bc72b 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -37,8 +37,8 @@ def get_application_instructions(target): instructions = grab_url_data(f'{UPSTREAM_URL}/applications/{target}.json').decode('UTF-8') print('[N] Found application instructions for: {}'.format(target)) except urllib.error.HTTPError: - print('[N] Could not find remote instructions. yrying local instructions under ./deployments/applications') - local_path = './deployments/applications' if os.path.isfile('./archinstall.py') else './archinstall/deployments/applications' # Dangerous assumption + print('[N] Could not find remote instructions. yrying local instructions under ./profiles/applications') + local_path = './profiles/applications' if os.path.isfile('./archinstall.py') else './archinstall/profiles/applications' # Dangerous assumption if os.path.isfile(f'{local_path}/{target}.json'): with open(f'{local_path}/{target}.json', 'r') as fh: instructions = fh.read() -- cgit v1.2.3-70-g09d2