Different method of interactive install allows the user to select apps from a list

This commit is contained in:
Bob Mottram 2016-10-17 10:45:12 +01:00
parent 6dd890b323
commit 3d259de720
3 changed files with 11 additions and 15 deletions

View File

@ -300,7 +300,7 @@ upgrade_installation_from_previous_versions
setup_utils
setup_email
setup_web
setup_apps
setup_apps $command_options
setup_final
echo "${PROJECT_NAME} installation is complete"

View File

@ -1346,18 +1346,6 @@ function interactive_config {
choose_default_domain_name
choose_email_address
function_check create_completion_file
create_completion_file
function_ckeck detect_installable_apps
detect_installable_apps
function_check choose_apps_for_variant
choose_apps_for_variant "$SYSTEM_TYPE"
function_check install_apps_interactive
install_apps_interactive
# delete the temporary configuration file
if [ -f temp.cfg ]; then
shred -zu temp.cfg

View File

@ -513,6 +513,8 @@ function upgrade_apps {
}
function setup_apps {
is_interactive=$1
function_check create_completion_file
create_completion_file
@ -532,8 +534,14 @@ function setup_apps {
function_check upgrade_apps
upgrade_apps
function_check install_apps
install_apps
if [[ $is_interactive == "menuconfig"* ]]; then
${PROJECT_NAME}-addremove
fi
if [[ $is_interactive == "noninteractive" || $is_interactive == "headless" ]]; then
function_check install_apps
install_apps
fi
}
function combine_all_scripts {