Compare commits
No commits in common. "b63e60c85f3cf289ef93d5553b1df1e81a645caa" and "44486f6de3ed79b3b7080002cc8a3e98a58bd68d" have entirely different histories.
b63e60c85f
...
44486f6de3
@ -35,6 +35,11 @@ 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
|
||||
@ -101,6 +106,8 @@ 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 ""
|
||||
|
||||
@ -140,11 +140,9 @@ 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. 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).
|
||||
# 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).
|
||||
sourceScanFiles "libreportal_configs";
|
||||
sourceScanFiles "app_configs";
|
||||
if [[ "$LP_LAZY" == "1" ]] && declare -p LP_FN_MAP >/dev/null 2>&1; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user