Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py10
1 files 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