cleanup: */install.ps1 add out-null to all New-Item calls
[webi-installers/.git] / lsd / install.ps1
index 4b4358594aad9f24b26acb4444a74890dba4d0cc..4867b5461e795160dc1279da86a869460a0b4d59 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 ".\lsd-v*" -Recurse -ErrorAction Ignore
         Remove-Item -Path ".\lsd.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 ".\lsd-*\lsd.exe" -Destination "$pkg_src_bin"
 
     # Exit tmp