We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
install-powershell.ps1
1 parent 0e4d2e4 commit cd380bcCopy full SHA for cd380bc
tools/install-powershell.ps1
@@ -125,7 +125,7 @@ Function Remove-Destination([string] $Destination) {
125
if ($IsWinEnv -and ($Destination -eq $PSHOME)) {
126
# handle the case where the updated folder is currently in use
127
Get-ChildItem -Recurse -File -Path $PSHOME | ForEach-Object {
128
- if ($_.extension -eq "old") {
+ if ($_.extension -eq ".old") {
129
Remove-Item $_
130
} else {
131
Move-Item $_.fullname "$($_.fullname).old"
0 commit comments