feature: add test (install almost every package)
[webi-installers/.git] / ssh-utils / ssh-pubkey.ps1
index 0951caa8de2ed7d073c1b150e4edbf77f24e33f2..e86a858f07a6e5fdc446465bcf9062f4e0866da0 100644 (file)
@@ -5,7 +5,7 @@
 
 if (!(Test-Path -Path "$Env:USERPROFILE/.ssh"))
 {
-    New-Item -Path "$Env:USERPROFILE/.ssh" -ItemType Directory
+    New-Item -Path "$Env:USERPROFILE/.ssh" -ItemType Directory -Force | out-null
     #& icacls "$Env:USERPROFILE/.ssh" /inheritance:r
     #& icacls "$Env:USERPROFILE/.ssh" /grant:r "$Env:USERNAME":"(F)"
 }