From 42676d57877bcccb8e5f2869891a790e94d450a0 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 19 Nov 2019 00:11:43 +0000 Subject: debugging --- archinstall.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- cgit v1.2.3-70-g09d2