index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-06 22:23:52 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-06 22:23:52 +0200 |
commit | 8764de14c960763da45d9fd5fd7c0475292ca076 (patch) | |
tree | 07183a516bd6f05d0ed5fbdabbc6957205480b1f /archinstall/lib | |
parent | d723dcf0d7c64f686fc6234a7da9649346d1f56f (diff) |
-rw-r--r-- | archinstall/lib/profiles.py | 4 |
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() |