tmux 오류 수정
This commit is contained in:
1 parent
0ff533bc9c
commit
dbcf5a4bb6
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ Info "Installing tmux..."
|
|||||||
$tmuxCmd = Get-Command tmux -ErrorAction SilentlyContinue
|
$tmuxCmd = Get-Command tmux -ErrorAction SilentlyContinue
|
||||||
if ($tmuxCmd) {
|
if ($tmuxCmd) {
|
||||||
$currentVer = & tmux -V 2>$null
|
$currentVer = & tmux -V 2>$null
|
||||||
if ($LASTEXITPR -ne 0) { $currentVer = "unknown" }
|
if (-not $currentVer) { $currentVer = "unknown" }
|
||||||
Info "tmux is already installed ($currentVer). Skipping installation."
|
Info "tmux is already installed ($currentVer). Skipping installation."
|
||||||
} else {
|
} else {
|
||||||
if (-not (Get-Command winget -ErrorAction SilentlyContinue)) {
|
if (-not (Get-Command winget -ErrorAction SilentlyContinue)) {
|
||||||
|
|||||||
Reference in new issue
Block a user