Merge pull request #1965 from al-cheb/al-cheb/use-dotnet-to-install-pwsh

[Ubuntu] Install pwsh using dotnet tool
This commit is contained in:
Maxim Lobanov
2020-11-03 15:09:35 +03:00
committed by GitHub

View File

@@ -9,7 +9,8 @@ source $HELPER_SCRIPTS/os.sh
# Install Powershell
if isUbuntu20 ; then
snap install powershell --classic --channel=edge/useedge
dotnet tool install --tool-path /opt/microsoft/powershell/7 powershell
ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
fi
if isUbuntu16 || isUbuntu18 ; then