diff --git a/tools/installpsh-amazonlinux.sh b/tools/installpsh-amazonlinux.sh index 9d3458e65ce..4fde5891843 100644 --- a/tools/installpsh-amazonlinux.sh +++ b/tools/installpsh-amazonlinux.sh @@ -151,6 +151,8 @@ $SUDO yum install -y \ libcurl \ openssl \ libuuid.x86_64 \ + tar \ + gzip \ && yum clean all ##END Check requirements and prerequisites @@ -168,7 +170,7 @@ if [[ "'$*'" =~ preview ]] ; then else echo "Finding the latest production release" release=$(curl https://api.github.com/repos/PowerShell/PowerShell/releases | grep -Po '"tag_name":(\d*?,|.*?[^\\]",)' | grep -Po '\d+.\d+.\d+[\da-z.-]*' | grep -v '[a-z]' | sort | tail -n1) -if +fi #DIRECT DOWNLOAD package=powershell-${release}-linux-x64.tar.gz