*/install.ps1: more cleanup

This commit is contained in:
AJ ONeal
2021-04-26 05:14:00 +00:00
parent dbeef945f5
commit 76776e9d54
+3 -12
View File
@@ -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 }}