cleanup: */install.ps1 add out-null to all New-Item calls

This commit is contained in:
AJ ONeal
2021-04-26 07:10:08 +00:00
parent 2073a1eeeb
commit 3f64f8b9c5
46 changed files with 51 additions and 51 deletions

View File

@@ -44,7 +44,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 -Force
New-Item "$pkg_src_bin" -ItemType Directory -Force | out-null
Move-Item -Path ".\caddy.exe" -Destination "$pkg_src_bin"
# Exit tmp
@@ -53,5 +53,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 | out-null
New-Item "$pkg_dst_bin" -ItemType Directory -Force
New-Item "$pkg_dst_bin" -ItemType Directory -Force | out-null
Copy-Item -Path "$pkg_src" -Destination "$pkg_dst" -Recurse