File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33# Exit immediately if a command exits with a non-zero status
44set -e
55
6- # Installing Azure command-line client
7- echo " deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ wheezy main " | sudo tee /etc/apt/sources.list.d/azure-cli.list
8-
6+ # Installing Azure command-line client here as used both in cleaning and cron_job scripts
7+ AZ_REPO= $( lsb_release -cs )
8+ echo " deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main " | sudo tee /etc/apt/sources.list.d/azure-cli.list
99sudo apt-key adv --keyserver packages.microsoft.com --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893
10+ curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
1011sudo apt-get -qq install apt-transport-https -y
1112sudo apt-get -qq update && sudo apt-get -qq install azure-cli -y
1213
You can’t perform that action at this time.
0 commit comments