projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup ps1
[webi-installers/.git]
/
_webi
/
template.ps1
diff --git
a/_webi/template.ps1
b/_webi/template.ps1
index 121eea057418bb571dc29baa67346b2c7d890599..42e0c6b878a11fea88bc6ecc2392f96a94cdf08d 100644
(file)
--- a/
_webi/template.ps1
+++ b/
_webi/template.ps1
@@
-22,10
+22,10
@@
$Env:WEBI_HOST = 'https://webinstall.dev'
pushd $Env:USERPROFILE
# Make paths if needed
pushd $Env:USERPROFILE
# Make paths if needed
-if (!(Test-Path -Path Downloads))
-{
- New-Item -Path Downloads -ItemType Directory -Force
-}
+
+
+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\bin))
{
New-Item -Path .local\bin -ItemType Directory -Force