Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorLord Anton Hvornum <anton.feeds@gmail.com>2018-04-07 14:23:08 +0200
committerLord Anton Hvornum <anton.feeds@gmail.com>2018-04-07 14:23:23 +0200
commit14ee4cdf8ced0fc76cf92a0f2f4cbf11c1824266 (patch)
treea3e3e34f79b9a2560d5ed42020b4f94223caa24e /archinstall.py
parent17c810d897505949b547a3c0ed555cedf9b4acdf (diff)
Changed git update command
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
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/<branch_name>
if b'error:' in output:
print('[N] Could not update git source for some reason.')