Skip to content

Commit

Permalink
feat: install dotnet runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhobson authored Oct 22, 2024
1 parent 098802a commit ee0570a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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 dotnet6; then
echo "dotnet6 not found, installing."
apt install -y dotnet6
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
else
echo "dotnet6 is already installed, skipping installation."
echo "dotnet-runtime-6.0 is already installed, skipping installation."
fi

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

0 comments on commit ee0570a

Please sign in to comment.