cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git] / lsd / install.ps1
index bac24ff95d08d77df5b719e27fd9dfe3f723ad6b..bc74e442f192ba81222000ebd1b58a8c9f15636d 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,7 +42,7 @@ 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"
@@ -54,5 +54,5 @@ IF (!(Test-Path -Path "$pkg_src_cmd"))
 }
 
 echo "Copying into '$pkg_dst_cmd' from '$pkg_src_cmd'"
-Remove-Item -Path "$pkg_dst_cmd" -Recurse -ErrorAction Ignore
+Remove-Item -Path "$pkg_dst_cmd" -Recurse -ErrorAction Ignore | out-null
 Copy-Item -Path "$pkg_src" -Destination "$pkg_dst" -Recurse