diff --git a/src/argo/install.sh b/src/argo/install.sh index 1f5dcfb..20f7bb8 100755 --- a/src/argo/install.sh +++ b/src/argo/install.sh @@ -14,7 +14,6 @@ install_argocd_cli(){ chmod +x $artifact sudo mv $artifact /usr/local/bin/argocd - argocd version --client } install_argo_cli(){ @@ -26,11 +25,9 @@ install_argo_cli(){ gunzip $artifact - chmod +x argo-linux-amd64 - sudo mv ./argo-linux-amd64 /usr/local/bin/argo - - argo version + chmod +x $artifact + sudo mv $artifact /usr/local/bin/argo } if [ "$ARGOCD" = true ]; then install_argocd_cli; fi -if [ "$ARGO" = true ]; then install_argo_cli; fi \ No newline at end of file +if [ "$ARGO" = true ]; then install_argo_cli; fi