Merge claude/2

This commit is contained in:
librelad 2026-05-24 22:39:43 +01:00
commit cf87cbeb0f
2 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,10 @@ checkApplicationsConfigFilesMissingVariables()
app=$(basename "$live" .config)
remote="$install_containers_dir$app/$app.config"
reconcileConfigFile "$live" "$remote"
done < <(runFileOp find "$containers_dir" -maxdepth 2 -type f -name '*.config' ! -name '*.bak')
# 2>/dev/null: before the docker-type config loads (early install) runFileOp
# falls back to the manager, which can't list the container-owned containers/
# dir — harmless "Permission denied" on a best-effort reconcile (no apps yet).
done < <(runFileOp find "$containers_dir" -maxdepth 2 -type f -name '*.config' ! -name '*.bak' 2>/dev/null)
isSuccessful "Application config reconciliation completed."
}

View File

@ -61,7 +61,12 @@ sourceScanFiles()
source "$file"
# echo "$load_type FILE $file"
fi
done < <($scan_op find "$folder_dir" -maxdepth 3 -type d \( -name 'resources' \) -prune -o -type f -name "$file_pattern" -print0)
# 2>/dev/null: early in an install the docker-type config isn't loaded
# yet, so runFileOp falls back to the manager, which can't list the
# container-owned containers/ dir — a harmless "Permission denied" on a
# best-effort scan (no app configs exist yet). Suppress that noise; the
# -print0 output still flows.
done < <($scan_op find "$folder_dir" -maxdepth 3 -type d \( -name 'resources' \) -prune -o -type f -name "$file_pattern" -print0 2>/dev/null)
fi
# Load the categories from the file into an array