Browse Source

refactor: update dependency check for ASP.NET Core runtime

The code has been refactored to update the dependency check for the ASP.NET Core runtime. The condition that checks for the presence of "dotnet-runtime-7.0" has been changed to "aspnetcore-runtime-7.0". This ensures that the correct dependency is being checked and improves accuracy in determining if the required runtime is installed.
pull/4304/head
Daniel Gibbs 2 years ago
parent
commit
d522b2f7e8
  1. 2
      lgsm/modules/check_deps.sh

2
lgsm/modules/check_deps.sh

@ -278,7 +278,7 @@ fn_deps_detector() {
monoinstalled=false monoinstalled=false
fi fi
# .NET Core: A .NET Core repo needs to be installed. # .NET Core: A .NET Core repo needs to be installed.
elif [ "${deptocheck}" == "dotnet-runtime-7.0" ]; then elif [ "${deptocheck}" == "aspnetcore-runtime-7.0" ]; then
# .NET is not installed. # .NET is not installed.
if [ -z "${dotnetversion}" ]; then if [ -z "${dotnetversion}" ]; then
depstatus=1 depstatus=1

Loading…
Cancel
Save