From af2207017fdbcb4fb4cb8c3a1136c8d5ac6326e2 Mon Sep 17 00:00:00 2001 From: Denis Salamanca <33235720+dsalamancaMS@users.noreply.github.com> Date: Wed, 3 Oct 2018 20:45:58 -0600 Subject: [PATCH] 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 --- content/en/docs/tasks/tools/install-kubectl.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/en/docs/tasks/tools/install-kubectl.md b/content/en/docs/tasks/tools/install-kubectl.md index 434faf3b86c..4f94e6335be 100644 --- a/content/en/docs/tasks/tools/install-kubectl.md +++ b/content/en/docs/tasks/tools/install-kubectl.md @@ -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