Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-13 22:14:20 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-13 22:14:20 +0000
commit01cb7da8a3377025e7b5479d956a10feb64bc3cb (patch)
treeb78d91a359f41dcec2e4536ae62f8d655fafac01
parenta1a3ed884cbda2aa4fe510ecac07ee52e95132d0 (diff)
Delete git-branch flag after use, since it breaks the syntax for the next steps
-rw-r--r--archinstall.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/archinstall.py b/archinstall.py
index f7d4c938..9b54803b 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -643,7 +643,7 @@ if __name__ == '__main__':
for i in range(5, 0, -1):
- print(f'Formatting in {i}...')
+ print(f'Formatting {args["drive"]} in {i}...')
sleep(1)
@@ -726,6 +726,7 @@ if __name__ == '__main__':
if 'git-branch' in pre_conf:
update_git(pre_conf['git-branch'])
+ del(pre_conf['git-branch'])
## Prerequisit steps needs to NOT be executed in arch-chroot.
## Mainly because there's no root structure to chroot into.
@@ -829,7 +830,8 @@ if __name__ == '__main__':
conf = instructions
if 'git-branch' in conf:
- update_git(pre_conf['git-branch'])
+ update_git(conf['git-branch'])
+ del(conf['git-branch'])
for title in conf:
if args['rerun'] and args['rerun'] != title and not rerun: