index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-19 00:11:43 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-19 00:11:43 +0000 |
commit | 42676d57877bcccb8e5f2869891a790e94d450a0 (patch) | |
tree | c58253be473fedcd83d80673761b54dd2e303a32 | |
parent | 22698ad65cbd5c24870f0e03eb8b5986ea3f7b88 (diff) |
-rw-r--r-- | archinstall.py | 10 |
diff --git a/archinstall.py b/archinstall.py index d62949ba..26091ea8 100644 --- a/archinstall.py +++ b/archinstall.py @@ -891,11 +891,11 @@ def filter_mirrors_by_country(countries, top=10, *positionals, **kwargs): def strap_in_base(*positionals, **kwargs): if args['aur-support']: args['packages'] += ' git' - x = sys_command('/usr/bin/pacman -Syy', *positionals, **kwargs) - print('Handle:', x) - print('Exit code:', x.exit_code, x.exit_code == 0) - if x.exit_code == 0: - if sys_command('/usr/bin/pacstrap /mnt base base-devel linux linux-firmware btrfs-progs efibootmgr nano wpa_supplicant dialog {packages}'.format(**args), *positionals, **kwargs).exit_code == 0: + if sys_command('/usr/bin/pacman -Syy', *positionals, **kwargs).exit_code == 0: + x = sys_command('/usr/bin/pacstrap /mnt base base-devel linux linux-firmware btrfs-progs efibootmgr nano wpa_supplicant dialog {packages}'.format(**args), *positionals, **kwargs) + print(x) + print(x.exit_code) + if x.exit_code == 0: return True return False |