mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
[Ubuntu] unify apt install calls (#9953)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user