Fix install.ps1 parans
This commit is contained in:
parent
5abb4c4268
commit
cb09d8bb11
@ -11,9 +11,8 @@ $layouts = (
|
||||
foreach ($layout in $layouts) {
|
||||
$source = "$env:USERPROFILE\Documents\WindowsPowerShell\layouts\$layout"
|
||||
$dest = "$env:LOCALAPPDATA\layouts\$layout"
|
||||
if (!(Test-Path -PathType Leaf $dest) {
|
||||
if (!(Test-Path -PathType Leaf $dest)) {
|
||||
New-Item -ItemType SymbolicLink -Path "$dest" -Target "$source"
|
||||
Write-Output "changed: created symlink $dest"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user