cleanup: use -Force making directories
[webi-installers/.git] / _webi / template.ps1
index 6ddd2fcee73bc4242c53bba48e09eda27a03eff4..121eea057418bb571dc29baa67346b2c7d890599 100644 (file)
@@ -24,15 +24,15 @@ pushd $Env:USERPROFILE
 # Make paths if needed
 if (!(Test-Path -Path Downloads))
 {
-    New-Item -Path Downloads -ItemType Directory
+    New-Item -Path Downloads -ItemType Directory -Force
 }
 if (!(Test-Path -Path .local\bin))
 {
-    New-Item -Path .local\bin -ItemType Directory
+    New-Item -Path .local\bin -ItemType Directory -Force
 }
 if (!(Test-Path -Path .local\opt))
 {
-    New-Item -Path .local\opt -ItemType Directory
+    New-Item -Path .local\opt -ItemType Directory -Force
 }
 
 # {{ baseurl }}