bugfix(postgres): mkdir -p ~/Applications before use
[webi-installers/.git] / awless / install.ps1
index cb44f2b85b8067ee96772e6b4a9a9bae22264a30..bee791b5b583a4251d00340bd1ee2c6f366e19fe 100644 (file)
@@ -33,7 +33,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 ".\awless-v*" -Recurse -ErrorAction Ignore
     Remove-Item -Path ".\awless.exe" -Recurse -ErrorAction Ignore
 
@@ -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 ".\awless.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