More status output
This commit is contained in:
parent
ef489a0cb5
commit
c33d382220
|
|
@ -205,7 +205,8 @@ def update_git():
|
||||||
os.remove('/root/archinstall/README.md')
|
os.remove('/root/archinstall/README.md')
|
||||||
|
|
||||||
output = b''.join(sys_command('(cd /root/archinstall; git update)').exec()) # git reset --hard origin/<branch_name> / git fetch --all
|
output = b''.join(sys_command('(cd /root/archinstall; git update)').exec()) # git reset --hard origin/<branch_name> / git fetch --all
|
||||||
|
print(output)
|
||||||
|
|
||||||
if b'error:' in output:
|
if b'error:' in output:
|
||||||
print('[N] Could not update git source for some reason.')
|
print('[N] Could not update git source for some reason.')
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue