Merge claude/1

This commit is contained in:
librelad 2026-05-26 23:42:12 +01:00
commit b63e60c85f
2 changed files with 5 additions and 10 deletions

View File

@ -35,11 +35,6 @@ appGenerate()
echo "" echo ""
done 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 while true; do
isQuestion "Please enter a short description (e.g a Finance Mananger): " isQuestion "Please enter a short description (e.g a Finance Mananger): "
read -p "" app_description read -p "" app_description
@ -106,8 +101,6 @@ appGenerate()
checkSuccess "Update $app_name.config - all cases of template to $app_name" 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) 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" 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 while true; do
echo "" echo ""

View File

@ -140,9 +140,11 @@ sourceInitilize()
# #
# Under LP_LAZY=1 with a present manifest, the container scan is replaced # Under LP_LAZY=1 with a present manifest, the container scan is replaced
# by autoload stubs in function_manifest.sh — sourcing every container # by autoload stubs in function_manifest.sh — sourcing every container
# installer eagerly would defeat the lazy optimisation. The two config # installer eagerly would defeat the lazy optimisation. Both config scans
# scans still run because bash can't lazy-load variables (Phase 6 will # still run because bash can't lazy-load variables; precompiling them was
# tackle this with a precompiled cache file). # 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 "libreportal_configs";
sourceScanFiles "app_configs"; sourceScanFiles "app_configs";
if [[ "$LP_LAZY" == "1" ]] && declare -p LP_FN_MAP >/dev/null 2>&1; then if [[ "$LP_LAZY" == "1" ]] && declare -p LP_FN_MAP >/dev/null 2>&1; then