index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-13 21:55:24 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-13 21:55:24 +0000 |
commit | 89a1a89a063b790842ec931f7c0ef5e9bfce2b0a (patch) | |
tree | f062e5eb7917a871b60a06fb357903f66ac985b4 /archinstall.py | |
parent | f61ffee65a553081513a3144c3d38ef9e91f152e (diff) |
-rw-r--r-- | archinstall.py | 2 |
diff --git a/archinstall.py b/archinstall.py index b9a35c49..e61d5104 100644 --- a/archinstall.py +++ b/archinstall.py @@ -450,7 +450,7 @@ def get_instructions(target): except urllib.error.HTTPError: print('[N] No instructions found called: {}'.format(target)) print('[N] Trying local instructions under ./deployments') - local_path = './deployments' if isfile('./archinstall.py') else './archinstall/deployments': # Dangerous assumption + local_path = './deployments' if isfile('./archinstall.py') else './archinstall/deployments' # Dangerous assumption if isfile(f'{local_path}/deployments/{target}.json'): with open(f'{local_path}/deployments/{target}.json', 'r') as fh: instructions = fh.read() |