bugfix(webi): printf rather than echo -e for colors for certain shells
[webi-installers/.git] / rg / install.ps1
index 32581fd7a5d49dd1d83c5504af4030634372c9ae..190f8b959ff2c43b56c3ec967d6b6f4db508f1c2 100644 (file)
@@ -34,7 +34,7 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
     # Enter tmp
     pushd .local\tmp
 
-        # Remove any leftover tmp cruft 
+        # Remove any leftover tmp cruft
         Remove-Item -Path ".\ripgrep-v*" -Recurse -ErrorAction Ignore
         Remove-Item -Path ".\rg.exe" -Recurse -ErrorAction Ignore
 
@@ -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"
-       
+
 
         # Settle unpacked archive into place
         echo "Install Location: $pkg_src_cmd"
-        New-Item "$pkg_src_bin" -ItemType Directory -Force
+        New-Item "$pkg_src_bin" -ItemType Directory -Force | out-null
         Move-Item -Path ".\ripgrep-*\rg.exe" -Destination "$pkg_src_bin"
 
     # Exit tmp