From 5021405caf8939b94d84c3ab8291def7af123dee Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Mon, 5 Apr 2021 13:21:21 -0700 Subject: [PATCH] Feat: Add Ubuntu 20.04 Support to install-powershell.sh (#15095) --- tools/installpsh-debian.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/installpsh-debian.sh b/tools/installpsh-debian.sh index 0314bc052..2c70f0a7c 100755 --- a/tools/installpsh-debian.sh +++ b/tools/installpsh-debian.sh @@ -19,7 +19,7 @@ #gitrepo paths are overrideable to run from your own fork or branch for testing or private distribution -VERSION="1.2.0" +VERSION="1.2.1" gitreposubpath="PowerShell/PowerShell/master" gitreposcriptroot="https://raw.githubusercontent.com/$gitreposubpath/tools" thisinstallerdistro=debian @@ -176,12 +176,12 @@ fi case $DISTRIB_ID in ubuntu|linuxmint) case $DISTRIB_RELEASE in - 18.04|16.10|16.04|15.10|14.04) + 20.04|18.04|16.10|16.04|15.10|14.04) curl https://packages.microsoft.com/config/ubuntu/$DISTRIB_RELEASE/prod.list | $SUDO tee /etc/apt/sources.list.d/microsoft.list ;; *) echo "ERROR: unsupported Ubuntu version ($DISTRIB_RELEASE)." >&2 - echo "Supported versions: 14.04, 15.10, 16.04, 16.10, 18.04." >&2 + echo "Supported versions: 14.04, 15.10, 16.04, 16.10, 18.04, 20.04." >&2 echo "For additional versions open an issue or pull request at: https://github.com/powershell/powershell" >&2 exit 1 ;;