Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLord Anton Hvornum <anton.feeds@gmail.com>2018-04-07 15:15:31 +0200
committerLord Anton Hvornum <anton.feeds@gmail.com>2018-04-07 15:15:31 +0200
commitc68152fb365c2964579322680b905ad096d04112 (patch)
treea6d52012bbb1000aa04952b9319e258987b0869f
parentf7dcfac21a60b7667f5996240ba933e1ae6954c5 (diff)
Fixed git fetch, hopefully
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
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/<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.')