From 14ee4cdf8ced0fc76cf92a0f2f4cbf11c1824266 Mon Sep 17 00:00:00 2001 From: Lord Anton Hvornum Date: Sat, 7 Apr 2018 14:23:08 +0200 Subject: Changed git update command --- archinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall.py b/archinstall.py index 2e1f30c6..21886b5b 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 pull') + output = run('git fetch --all') # git reset --hard origin/ if b'error:' in output: print('[N] Could not update git source for some reason.') -- cgit v1.2.3-70-g09d2