mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +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:
1 parent
3a66c04f23
commit
fc2c1b9f7d
1 file changed
+4
-1
+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