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:32:28 +0200
committerLord Anton Hvornum <anton.feeds@gmail.com>2018-04-07 15:32:28 +0200
commit88dfcad86c314fc5aa90a508f4e76d666f69099f (patch)
treebddbb56347d33dfd5cbd499cbc4219103b8f61e8
parentc68152fb365c2964579322680b905ad096d04112 (diff)
Debugging
-rw-r--r--archinstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index f8ebe9fe..57db7958 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -53,6 +53,7 @@ def run(cmd, echo=False):
# print(data.decode('UTF-8'), end='')
output += data
output += handle.stdout.read()
+ print('Command done:', output)
handle.stdout.close()
return output
@@ -62,6 +63,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')
+ # sh -c 'cd /c && ../a/helloworld'
output = run('(cd /root/archinstall; git fetch --all)') # git reset --hard origin/<branch_name>
if b'error:' in output: