Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index a5e88700..29e32f73 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -52,6 +52,9 @@ def run(cmd):
def update_git():
default_gw = get_default_gateway_linux()
if(default_gw):
+ ## 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')
if b'error:' in output: