diff --git a/scripts/app/app_generate.sh b/scripts/app/app_generate.sh index 2a008b2..1dc1b52 100755 --- a/scripts/app/app_generate.sh +++ b/scripts/app/app_generate.sh @@ -35,11 +35,6 @@ appGenerate() echo "" done - while true; do - isQuestion "Please enter the hostname (e.g., a hostname 'test' would set up the domain: test.yourdomain.com): " - read -p "" host_name - done - while true; do isQuestion "Please enter a short description (e.g a Finance Mananger): " read -p "" app_description @@ -106,8 +101,6 @@ appGenerate() checkSuccess "Update $app_name.config - all cases of template to $app_name" local result=$(runInstallOp sed -i '' -e 's/TEMPLATE/'"$full_caps_app_name"'/g' "$app_config_file" > /dev/null 2>&1) checkSuccess "Update $app_name.config - all cases of TEMPLATE to $full_caps_app_name" - local result=$(runInstallOp sed -i '' -e 's/HOST_NAME=test/HOST_NAME='"$host_name"'/g' "$app_config_file" > /dev/null 2>&1) - checkSuccess "Updating Config - HOST_NAME to $app_name" while true; do echo "" diff --git a/scripts/source/loading/initilize_files.sh b/scripts/source/loading/initilize_files.sh index a5db116..0f53b38 100755 --- a/scripts/source/loading/initilize_files.sh +++ b/scripts/source/loading/initilize_files.sh @@ -140,9 +140,11 @@ sourceInitilize() # # Under LP_LAZY=1 with a present manifest, the container scan is replaced # by autoload stubs in function_manifest.sh — sourcing every container - # installer eagerly would defeat the lazy optimisation. The two config - # scans still run because bash can't lazy-load variables (Phase 6 will - # tackle this with a precompiled cache file). + # installer eagerly would defeat the lazy optimisation. Both config scans + # still run because bash can't lazy-load variables; precompiling them was + # considered (Phase 7) and rejected — the ~30 ms saving doesn't justify + # the invalidation complexity (updateConfigOption writes happen across + # many code paths). sourceScanFiles "libreportal_configs"; sourceScanFiles "app_configs"; if [[ "$LP_LAZY" == "1" ]] && declare -p LP_FN_MAP >/dev/null 2>&1; then