index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2019-04-11 19:44:02 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2019-04-11 19:44:02 +0200 |
commit | 58b9442569ca349cdd92e1ddf720e0ac7847aa9a (patch) | |
tree | 96ae0edc276d6a2423108dbaec24bf1030cea94b | |
parent | 47e788c557bc7268ec533aa686b9557cb48321a8 (diff) |
-rw-r--r-- | archinstall.py | 4 |
diff --git a/archinstall.py b/archinstall.py index 91383233..dfe44133 100644 --- a/archinstall.py +++ b/archinstall.py @@ -197,9 +197,9 @@ def update_git(): os.remove('/root/archinstall/archinstall.py') os.remove('/root/archinstall/README.md') - output = sys_command('(cd /root/archinstall; git fetch --all)').exec() # git reset --hard origin/<branch_name> + output = b''.join(sys_command('(cd /root/archinstall; git fetch --all)').exec()) # git reset --hard origin/<branch_name> - if b'error:' in b''.join(output): + if b'error:' in output: print('[N] Could not update git source for some reason.') return |