From f72d7c9fbc4bcff14ae14fc435fcedac91c3b524 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Tue, 24 Sep 2024 20:01:01 -0700 Subject: [PATCH] fix: Container.init.ps1 - splatting InstallPackages ( Fixes #279, Fixes #280 ) --- Container.init.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Container.init.ps1 b/Container.init.ps1 index 604288c6..639bab84 100644 --- a/Container.init.ps1 +++ b/Container.init.ps1 @@ -61,7 +61,7 @@ Get-ChildItem -Path $PSScriptRoot | # If we have packages to install if ($InstallPackages) { # install the packages - apt-get update && apt-get install -y "$($InstallPackages -join ' ')" && apt-get clean | Out-Host + apt-get update && apt-get install -y @installPackages && apt-get clean | Out-Host } # Create a new profile