install powershell Ubuntu 20.04

This commit is contained in:
Aleksandr Chebotov
2020-05-14 17:00:28 +03:00
parent df85366207
commit d5fe506428
3 changed files with 9 additions and 3 deletions

View File

@@ -8,7 +8,13 @@
source $HELPER_SCRIPTS/document.sh
# Install Powershell
snap install powershell --classic --channel=edge/useedge
if isUbuntu20 ; then
snap install powershell --classic --channel=edge/useedge
fi
if isUbuntu16 || isUbuntu18 ; then
apt-get install -y powershell
fi
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"