swap snap to apt-get

This commit is contained in:
Aleksandr Chebotov
2020-11-12 10:48:00 +03:00
parent 0216e5ce2b
commit baa945c304

View File

@@ -4,17 +4,8 @@
## Desc: Installs powershellcore
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
# Install Powershell
if isUbuntu20 ; then
snap install powershell --classic --channel=edge/useedge
fi
if isUbuntu16 || isUbuntu18 ; then
apt-get install -y powershell
fi
apt-get install -y powershell
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"