index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2018-06-06 17:15:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 17:15:04 +0200 |
commit | 3ff1e2e6cd2f6203f1c78c5a0c927ea52b4ac4bf (patch) | |
tree | b94c6c17cbe96b65bfdcf1088a18204185df6946 /archinstall.py | |
parent | 96b8669b0af43b2bf9393e9c2792fd60e36b87ad (diff) |
-rw-r--r-- | archinstall.py | 9 |
diff --git a/archinstall.py b/archinstall.py index 42d3ff65..0f3182e9 100644 --- a/archinstall.py +++ b/archinstall.py @@ -257,10 +257,11 @@ if __name__ == '__main__': for key, val in instructions['args'].items(): args[key] = val - ## TODO: Reuseable code, there's to many get_instructions, merge_dictgs and args updating going on. - ## Update arguments if we found any - for key, val in instructions['args'].items(): - args[key] = val + if 'args' in instructions: + ## TODO: Reuseable code, there's to many get_instructions, merge_dictgs and args updating going on. + ## Update arguments if we found any + for key, val in instructions['args'].items(): + args[key] = val if args['password'] == '<STDIN>': args['password'] = input('Enter a disk (and root) password: ') print(args) |