mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
cleanup: */install.ps1 add out-null to all New-Item calls
This commit is contained in:
@@ -33,7 +33,7 @@ IF (!(Test-Path -Path "$pkg_src"))
|
||||
# Windows BSD-tar handles zip. Imagine that.
|
||||
echo "Unpacking $pkg_download"
|
||||
IF (!(Test-Path -Path "$pkg_cmd_name-v$Env:WEBI_VERSION")) {
|
||||
New-Item -Path "$pkg_cmd_name-v$Env:WEBI_VERSION" -ItemType Directory -Force
|
||||
New-Item -Path "$pkg_cmd_name-v$Env:WEBI_VERSION" -ItemType Directory -Force | out-null
|
||||
}
|
||||
($none = pushd "$pkg_cmd_name-v$Env:WEBI_VERSION") | out-null
|
||||
& tar xf "$pkg_download"
|
||||
|
||||
Reference in New Issue
Block a user