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-29 15:10:49 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 15:10:49 +0100
commit6faeeb0bd302ae5f853ab63e46bf7b2c9ba2b544 (patch)
tree4c827cd1cb066ee0c64e4dcda44d35a99d4926c6
parent2d9606777f24078b86d9e2e25efe0181b3e8c51c (diff)
Don't update git until we have some args
-rw-r--r--archinstall.py6
1 files 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']: