Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-06-20 15:16:25 +0000
committerGitHub <noreply@github.com>2019-06-20 15:16:25 +0000
commitbcb4a2d6183e8e6ae8cdf97282f1ba340fcc45b1 (patch)
treecdc3e14df31006d5dd650e0276b472d310d48b08 /archinstall.py
parent8cf4bde3410e87af4a479720a6aca10ceeddb970 (diff)
No need to join the result of simple_command
(Already in a bytes string)
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archinstall.py b/archinstall.py
index 299c9a46..8756d9f1 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(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'))
+ o = 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 = simple_command("/usr/bin/sed -i 's/#Server/Server/' /root/mirrorlist")
+ o = simple_command('/usr/bin/rankmirrors -n 6 /root/mirrorlist > /etc/pacman.d/mirrorlist')
pre_conf = {}
if 'pre' in instructions: