mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-05-02 14:56:34 +00:00
ref!(webi): use $HOME instead of switching and relying on the current directory
This commit is contained in:
@@ -125,9 +125,6 @@ function Show-HowToUpdateEnv {
|
||||
Write-Host ""
|
||||
}
|
||||
|
||||
# Switch to userprofile
|
||||
Push-Location $Env:USERPROFILE
|
||||
|
||||
# Make paths if needed
|
||||
# TODO replace all bin with opt\bin\
|
||||
New-Item -Path "$HOME\.local\bin\" -ItemType Directory -Force | Out-Null
|
||||
@@ -215,5 +212,3 @@ IF ($IsWebiParent) {
|
||||
Show-HowToUpdateEnv
|
||||
}
|
||||
}
|
||||
|
||||
Pop-Location
|
||||
|
||||
Reference in New Issue
Block a user