Skip to content

Commit

Permalink
Removed pwsh version update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Oct 15, 2024
1 parent f44015a commit 2bc9e73
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions avm/utilities/pipelines/sharedScripts/Set-EnvironmentOnAgent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -258,21 +258,4 @@ function Set-EnvironmentOnAgent {
}

Write-Verbose ('Install-CustomModule end') -Verbose

#####################################
## TEMP PowerShell installation ##
#####################################

# Update the list of packages
sudo apt-get update
# Install pre-requisite packages.
sudo apt-get install -y wget apt-transport-https software-properties-common
# Download the Microsoft repository GPG keys
wget -q "https://packages.microsoft.com/config/ubuntu/`$(lsb_release -rs)/packages-microsoft-prod.deb"
# Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
# Update the list of packages after we added packages.microsoft.com
sudo apt-get update
# Install PowerShell
sudo apt-get install -y powershell
}

0 comments on commit 2bc9e73

Please sign in to comment.