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