mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update apt-get repo in Start-PSBootstrap
yum does not need this as yum install does it automatically. This is needed when running, for example, in a container.
This commit is contained in:
+4
-1
@@ -728,7 +728,10 @@ function Start-PSBootstrap {
|
||||
if ($Package) { $Deps += "ruby-dev", "groff" }
|
||||
|
||||
# Install dependencies
|
||||
Start-NativeExecution { Invoke-Expression "$sudo apt-get install -y -qq $Deps" }
|
||||
Start-NativeExecution {
|
||||
Invoke-Expression "$sudo apt-get update"
|
||||
Invoke-Expression "$sudo apt-get install -y -qq $Deps"
|
||||
}
|
||||
} elseif ($IsCentOS) {
|
||||
# Build tools
|
||||
$Deps += "which", "curl", "gcc-c++", "cmake", "make"
|
||||
|
||||
Reference in New Issue
Block a user