apt-get best scripting practices
This commit is contained in:
parent
8fbd928fff
commit
4785090c89
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue