[Ubuntu] unify apt install calls (#9953)

This commit is contained in:
Mikhail Koliada
2024-05-29 13:43:07 +02:00
committed by GitHub
parent 448c998191
commit 899fcf9b16
34 changed files with 50 additions and 49 deletions

View File

@@ -48,7 +48,7 @@ for latest_package in ${latest_dotnet_packages[@]}; do
echo "Determining if .NET Core ($latest_package) is installed"
if ! dpkg -S $latest_package &> /dev/null; then
echo "Could not find .NET Core ($latest_package), installing..."
apt-get install $latest_package -y
apt-get install $latest_package
else
echo ".NET Core ($latest_package) is already installed"
fi