From 01cb7da8a3377025e7b5479d956a10feb64bc3cb Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 13 Nov 2019 22:14:20 +0000 Subject: Delete git-branch flag after use, since it breaks the syntax for the next steps --- archinstall.py | 6 ++++-- 1 file 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: -- cgit v1.2.3-70-g09d2