diff --git a/archinstall.py b/archinstall.py index b02616cb..f8ebe9fe 100644 --- a/archinstall.py +++ b/archinstall.py @@ -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/ + output = run('(cd /root/archinstall; git fetch --all)') # git reset --hard origin/ if b'error:' in output: print('[N] Could not update git source for some reason.')