apt-get best scripting practices

This commit is contained in:
Egor Tensin 2021-07-02 15:28:14 +03:00
parent 8fbd928fff
commit 4785090c89

View file

@ -47,8 +47,8 @@ runs:
)
if ($script:linux_host) {
sudo apt-get update -yq
sudo apt-get install -yq --no-install-recommends $Packages
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends $Packages
} elseif ($script:cygwin_host) {
$choco = Locate-Choco
& $choco install $Packages -y --no-progress --source=cygwin