US-16 Detect Debian-family dependencies instead of fixed OS versions

This commit is contained in:
Steffen committed 2026-10-07 16:49:48 +02:00
1 parent 7dc4ee60f0
commit 23a824dd81
5 files changed
+73 -23

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ for service in "${selected_services[@]}"; do case "$service" in patient-profile|
if [[ "$target_root" == / && "$prepare_only" == false ]]; then
[[ $EUID -eq 0 && -d /run/systemd/system ]] || fail 'Live installation requires root and a running systemd manager.'
source /etc/os-release
ensure_dependencies "$ID" "$VERSION_ID" "$dotnet_path" "$persistence"
ensure_dependencies "$ID" "${VERSION_ID:-}" "$dotnet_path" "$persistence" "${ID_LIKE:-}"
else
[[ -x "$dotnet_path" ]] || fail 'Offline preparation needs an available .NET 10 runtime.'
fi