projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: */install.ps1 add out-null to all New-Item calls
[webi-installers/.git]
/
pandoc
/
install.ps1
diff --git
a/pandoc/install.ps1
b/pandoc/install.ps1
index 3358d19f33df52b672069aae0691bdc1c3122252..4a83d0f072dac0ed1c0e6056833f45696f5194be 100644
(file)
--- a/
pandoc/install.ps1
+++ b/
pandoc/install.ps1
@@
-34,7
+34,7
@@
IF (!(Test-Path -Path "$pkg_src_cmd"))
# Enter tmp
pushd .local\tmp
# Enter tmp
pushd .local\tmp
- # Remove any leftover tmp cruft
+ # Remove any leftover tmp cruft
Remove-Item -Path ".\pandoc-v*" -Recurse -ErrorAction Ignore
Remove-Item -Path ".\pandoc.exe" -Recurse -ErrorAction Ignore
Remove-Item -Path ".\pandoc-v*" -Recurse -ErrorAction Ignore
Remove-Item -Path ".\pandoc.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"
# 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"
# 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 ".\pandoc-*\pandoc.exe" -Destination "$pkg_src_bin"
# Exit tmp
Move-Item -Path ".\pandoc-*\pandoc.exe" -Destination "$pkg_src_bin"
# Exit tmp
@@
-54,5
+54,5
@@
IF (!(Test-Path -Path "$pkg_src_cmd"))
}
echo "Copying into '$pkg_dst_cmd' from '$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
Copy-Item -Path "$pkg_src" -Destination "$pkg_dst" -Recurse