index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2019-06-20 15:13:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 15:13:36 +0000 |
commit | 8cf4bde3410e87af4a479720a6aca10ceeddb970 (patch) | |
tree | 038829ec0c9eeefb3b1ac474eb362862dba8764b | |
parent | 2b8ec903b153c4466bb6081fb6b15fe5aa157d8f (diff) |
-rw-r--r-- | archinstall.py | 6 |
diff --git a/archinstall.py b/archinstall.py index 73917185..299c9a46 100644 --- a/archinstall.py +++ b/archinstall.py @@ -585,9 +585,9 @@ if __name__ == '__main__': if 'mirrors' in args and args['mirrors'] and 'country' in args and get_default_gateway_linux(): print('[N] Reordering mirrors.') - o = b''.join(sys_command("/usr/bin/wget 'https://www.archlinux.org/mirrorlist/?country={country}&protocol=https&ip_version=4&ip_version=6&use_mirror_status=on' -O /root/mirrorlist".format(**args)).exec()) - o = b''.join(sys_command("/usr/bin/sed -i 's/#Server/Server/' /root/mirrorlist").exec()) - o = b''.join(sys_command('/usr/bin/rankmirrors -n 6 /root/mirrorlist > /etc/pacman.d/mirrorlist').exec()) + o = b''.join(simple_command("/usr/bin/wget 'https://www.archlinux.org/mirrorlist/?country={country}&protocol=https&ip_version=4&ip_version=6&use_mirror_status=on' -O /root/mirrorlist".format(**args))) + o = b''.join(simple_command("/usr/bin/sed -i 's/#Server/Server/' /root/mirrorlist")) + o = b''.join(simple_command('/usr/bin/rankmirrors -n 6 /root/mirrorlist > /etc/pacman.d/mirrorlist')) pre_conf = {} if 'pre' in instructions: |