index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-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) |