From 6faeeb0bd302ae5f853ab63e46bf7b2c9ba2b544 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 29 Nov 2019 15:10:49 +0100 Subject: Don't update git until we have some args --- archinstall.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archinstall.py b/archinstall.py index d5ff48a9..8075e6f4 100644 --- a/archinstall.py +++ b/archinstall.py @@ -1118,9 +1118,6 @@ def run_post_install_steps(*positionals, **kwargs): #print(o) if __name__ == '__main__': - update_git() # Breaks and restarts the script if an update was found. - update_drive_list() - ## Setup some defaults # (in case no command-line parameters or netdeploy-params were given) args = setup_args_defaults(args) @@ -1135,6 +1132,9 @@ if __name__ == '__main__': else: positionals.append(arg) + update_git() # Breaks and restarts the script if an update was found. + update_drive_list() + ## == If we got networking, # Try fetching instructions for this box unless a specific profile was given, and execute them. if args['profile'] is None and not args['minimal']: -- cgit v1.2.3-54-g00ecf