X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=pandoc%2Finstall.ps1;h=4a83d0f072dac0ed1c0e6056833f45696f5194be;hb=3f64f8b9c513da3aa4d10e3344426dbb3f817d5e;hp=3358d19f33df52b672069aae0691bdc1c3122252;hpb=00f34e0c96799220a0392787644f193984634ee4;p=webi-installers%2F.git diff --git a/pandoc/install.ps1 b/pandoc/install.ps1 index 3358d19..4a83d0f 100644 --- a/pandoc/install.ps1 +++ b/pandoc/install.ps1 @@ -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 ".\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" - + # 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 @@ -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