cleanup: use -Force making directories
[webi-installers/.git] / gitdeploy / install.ps1
index 5d9d23286339e870d9e72244a1ef6a65f957bf7d..ebab8318754baaadd7d79724e75fb1a10d54b055 100644 (file)
@@ -45,7 +45,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
 
         # Settle unpacked archive into place
         echo "Install Location: $pkg_src_cmd"
-        New-Item "$pkg_src_bin" -ItemType Directory
+        New-Item "$pkg_src_bin" -ItemType Directory -Force
         Move-Item -Path ".\gitdeploy.exe" -Destination "$pkg_src_bin"
 
     # Exit tmp