Doc: Update Ubuntu source creation commands to use 'curl -o' (#6510)

Updated the Ubuntu source creation commands to remove the need for piping
This commit is contained in:
M-D-M
2018-03-27 14:57:29 -07:00
committed by Dongbo Wang
parent 31405f7283
commit 7c7204a1ba
+3 -3
View File
@@ -39,7 +39,7 @@ This is the preferred method.
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
# Register the Microsoft Ubuntu repository
curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
sudo curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/14.04/prod.list
# Update the list of products
sudo apt-get update
@@ -89,7 +89,7 @@ This is the preferred method.
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
# Register the Microsoft Ubuntu repository
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
sudo curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/16.04/prod.list
# Update the list of products
sudo apt-get update
@@ -139,7 +139,7 @@ This is the preferred method.
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
# Register the Microsoft Ubuntu repository
curl https://packages.microsoft.com/config/ubuntu/17.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
sudo curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/17.04/prod.list
# Update the list of products
sudo apt-get update