Removed "touch" on sources.list.d (#10427)

touch is not necessary as the "tee" command will create the file regardless if it exists or not
pull/10419/merge
Denis Salamanca 2018-10-03 20:45:58 -06:00 committed by k8s-ci-robot
parent 559c5778eb
commit af2207017f
1 changed files with 0 additions and 1 deletions

View File

@ -28,7 +28,6 @@ Here are a few methods to install kubectl.
{{< tab name="Ubuntu, Debian or HypriotOS" codelang="bash" >}}
sudo apt-get update && sudo apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo touch /etc/apt/sources.list.d/kubernetes.list
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl