index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Dylan Taylor <dylan@dylanmtaylor.com> | 2021-11-23 15:27:02 -0500 |
---|---|---|
committer | Dylan Taylor <dylan@dylanmtaylor.com> | 2021-11-23 15:27:02 -0500 |
commit | 04c2b19dbe4d95dbca121772433bb2d5a17bbeb2 (patch) | |
tree | d6fe9e139c889085d40510c1bce97ecb97ce282b /archinstall | |
parent | 72d02a391dd1f2aedaeaac59b943d8655366bb3e (diff) |
-rw-r--r-- | archinstall/__init__.py | 12 |
diff --git a/archinstall/__init__.py b/archinstall/__init__.py index a528922f..c66393ad 100644 --- a/archinstall/__init__.py +++ b/archinstall/__init__.py @@ -8,7 +8,7 @@ from .lib.disk import * from .lib.exceptions import * from .lib.general import * from .lib.hardware import * -from .lib.installer import __packages__, Installer +from .lib.installer import __packages__, Installer, accessibility_tools_in_use from .lib.locale_helpers import * from .lib.luks import * from .lib.mirrors import * @@ -50,14 +50,14 @@ def initialize_arguments(): config = json.loads(response.read()) except Exception as e: raise ValueError(f"Could not load --config because: {e}") - + if args.creds is not None: with open(args.creds) as file: config.update(json.load(file)) - + # Installation can't be silent if config is not passed config["silent"] = args.silent - + for arg in unknowns: if '--' == arg[:2]: if '=' in arg: @@ -65,9 +65,9 @@ def initialize_arguments(): else: key, val = arg[2:], True config[key] = val - + config["script"] = args.script - + if args.dry_run is not None: config["dry-run"] = args.dry_run |