mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 12:06:25 +00:00
*/install.ps1: more cleanup
This commit is contained in:
+3
-12
@@ -21,19 +21,10 @@ $Env:WEBI_HOST = 'https://webinstall.dev'
|
||||
# Switch to userprofile
|
||||
pushd $Env:USERPROFILE
|
||||
|
||||
# Make paths if needed
|
||||
|
||||
|
||||
# Make paths
|
||||
New-Item -Path Downloads -ItemType Directory -Force | out-null
|
||||
|
||||
if (!(Test-Path -Path .local\bin))
|
||||
{
|
||||
New-Item -Path .local\bin -ItemType Directory -Force
|
||||
}
|
||||
if (!(Test-Path -Path .local\opt))
|
||||
{
|
||||
New-Item -Path .local\opt -ItemType Directory -Force
|
||||
}
|
||||
New-Item -Path .local\bin -ItemType Directory -Force | out-null
|
||||
New-Item -Path .local\opt -ItemType Directory -Force | out-null
|
||||
|
||||
# {{ baseurl }}
|
||||
# {{ version }}
|
||||
|
||||
Reference in New Issue
Block a user