Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAbhay Mohandas <80393938+abhay-mohandas@users.noreply.github.com>2022-08-01 19:09:39 +0530
committerGitHub <noreply@github.com>2022-08-01 15:39:39 +0200
commit463114356cd195b5402fc7f280508fea6566a7df (patch)
tree9200e417be072a7dbaf21fa001078c34feecd3d7 /examples
parent5626c109272b7d34d25facbd2b22f466bf1f4ce2 (diff)
Option for Parallel Downloads (#1397)
* Adding menu * Working on parallel downloads * error updates * updates * update * Few more updates * bug fixes * More bug fixes * Minor bug fixes * Few changes * Minor changes * Cleaned up add_number_of_parrallel_downloads() and hid it behind --advanced * Forgot one import * Fixed flake8 Co-authored-by: Anton Hvornum <anton@hvornum.se>
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 0bb377a4..bbf19bf9 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -85,6 +85,10 @@ def ask_user_questions():
global_menu.enable('packages')
+ if archinstall.arguments.get('advanced', False):
+ # Enable parallel downloads
+ global_menu.enable('parallel downloads')
+
# Ask or Call the helper function that asks the user to optionally configure a network.
global_menu.enable('nic')