Fix dotnet check for debian-12-arm

This commit is contained in:
Deda 2024-03-18 16:10:05 +01:00
parent 3aa782df31
commit 550bc31984

View File

@ -87,9 +87,7 @@ check() {
continue
fi
if [ "$pkg" == dotnet-sdk-8.0 ]; then
local DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
if ! dotnet --list-sdks | grep -q "8\.0."; then
if ! $HOME/.dotnet/dotnet --list-sdks | grep -q "8\.0."; then
missing="$pkg $missing"
fi
continue