From 1719101444e18adff331e5343308d695ff3dcc65 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 9 Mar 2025 23:07:38 +0000 Subject: [PATCH] fix: install microsoft repo dotnet-7.0 not available in standard repos --- lgsm/modules/check_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/check_deps.sh b/lgsm/modules/check_deps.sh index 7145eff0a..5667876e5 100644 --- a/lgsm/modules/check_deps.sh +++ b/lgsm/modules/check_deps.sh @@ -284,7 +284,7 @@ fn_deps_detector() { # .NET Core: A .NET Core repo needs to be installed. elif [ "${deptocheck}" == "dotnet-runtime-7.0" ]; then # .NET is not installed. - if [ -n "${dotnetversion}" ]; then + if dotnet --list-runtimes | grep -q "Microsoft.NETCore.App 7.0"; then depstatus=0 dotnetinstalled=true else