mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix the link configuration for Linux packaging
# Conflicts: # tools/packaging/packaging.psm1
This commit is contained in:
committed by
Travis Plunk
parent
2f8f30a9d9
commit
a7bfc8f5c4
@@ -620,9 +620,9 @@ function New-UnixPackage {
|
||||
|
||||
# Destination for symlink to powershell executable
|
||||
$Link = if ($Environment.IsLinux) {
|
||||
"/usr/bin"
|
||||
"/usr/bin/pwsh"
|
||||
} elseif ($Environment.IsMacOS) {
|
||||
"/usr/local/bin"
|
||||
"/usr/local/bin/"
|
||||
}
|
||||
$linkSource = "/tmp/pwsh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user