shellcheck: bugfix releases
[webi-installers/.git] / rg / install.ps1
index 2c161a022dc58a1194563eb511b0e5b2e264ab7e..a721bb3e36b457044f46203d02371a755fd768ed 100644 (file)
@@ -42,11 +42,11 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
         # Windows BSD-tar handles zip. Imagine that.
         echo "Unpacking $pkg_download"
         & tar xf "$pkg_download"
-        & dir
+       
 
         # 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 ".\ripgrep-*\rg.exe" -Destination "$pkg_src_bin"
 
     # Exit tmp