Fixed git fetch, hopefully

This commit is contained in:
Lord Anton Hvornum 2018-04-07 15:15:31 +02:00
parent f7dcfac21a
commit c68152fb36
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def update_git():
## Not the most elegant way to make sure git conflicts doesn't occur (yea fml)
os.remove('/root/archinstall/archinstall.py')
os.remove('/root/archinstall/README.md')
output = run('git fetch --all') # git reset --hard origin/<branch_name>
output = run('(cd /root/archinstall; git fetch --all)') # git reset --hard origin/<branch_name>
if b'error:' in output:
print('[N] Could not update git source for some reason.')