diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/procedures/base | 7 | ||||
-rw-r--r-- | src/core/procedures/interactive | 8 |
2 files changed, 14 insertions, 1 deletions
diff --git a/src/core/procedures/base b/src/core/procedures/base index 24131dd..c163a0e 100644 --- a/src/core/procedures/base +++ b/src/core/procedures/base @@ -8,6 +8,7 @@ var_UI_TYPE="cli" # set to cli or dia for dialog ###### Phases ( can be overridden by more specific procedures) ###### phase_preparation=(\ + configure \ intro \ select_source \ runtime_network \ @@ -44,6 +45,12 @@ worker_intro () } +worker_configure () +{ + var_UI_TYPE=${arg_ui_type:-cli} +} + + worker_select_source () { var_PKG_SOURCE_TYPE='cd' diff --git a/src/core/procedures/interactive b/src/core/procedures/interactive index 9739cd3..c01c0fa 100644 --- a/src/core/procedures/interactive +++ b/src/core/procedures/interactive @@ -35,7 +35,7 @@ start_process () ##################### ## begin execution ## - var_UI_TYPE=dia + execute worker configure execute worker intro @@ -190,6 +190,12 @@ worker_intro () } +worker_configure () +{ + var_UI_TYPE=${arg_ui_type:-dia} +} + + # select_packages() # prompts the user to select packages to install worker_package_list() { |