Skip to content

Commit

Permalink
fix: install sdk instead of runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhobson authored Oct 22, 2024
1 parent ee0570a commit e9bfb61
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Sergen.Main/Resources/Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ if command -v apt > /dev/null; then
fi

# Check if dotnet6 is installed
if ! dpkg -l | grep -q dotnet-runtime-6.0; then
echo "dotnet-runtime-6.0 not found, installing."
apt install -y dotnet-runtime-6.0
if ! dpkg -l | grep -q dotnet-sdk-6.0; then
echo "dotnet-sdk-6.0 not found, installing."
apt install -y dotnet-sdk-6.0
else
echo "dotnet-runtime-6.0 is already installed, skipping installation."
echo "dotnet-sdk-6.0 is already installed, skipping installation."
fi

echo "podman and dotnet-runtime-6.0 installation checks complete."
echo "podman and dotnet-sdk-6.0 installation checks complete."
else
echo "apt not found. Skipping podman and dotnet6 installation."
echo "apt not found. Skipping podman and dotnet-sdk-6.0 installation."
fi

0 comments on commit e9bfb61

Please sign in to comment.