Remove the need to use sudo during build
[it/dep.git] / smo-install / scripts / layer-0 / 0-setup-helm3.sh
index c9d03b6..b8b8508 100755 (executable)
 # ===================================================================
 #
 ###
-
 #Helm package
+cd /tmp
 wget https://get.helm.sh/helm-v3.5.4-linux-amd64.tar.gz
-mv helm-v3.5.4-linux-amd64.tar.gz /tmp/helm-v3.5.4-linux-amd64.tar.gz
-cd /tmp/
 tar xvfz /tmp/helm-v3.5.4-linux-amd64.tar.gz
-mv linux-amd64/helm /usr/local/bin/helm
-apt-get install git -y
+sudo mv linux-amd64/helm /usr/local/bin/helm
+sudo apt-get install git -y
 
 
 echo "Checking HELM ..."