projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6715193
)
fix(provision): make the salt-call binary check compatible with sh
author
Javier Bértoli <jbertoli@curii.com>
Tue, 9 Feb 2021 14:53:08 +0000
(11:53 -0300)
committer
Javier Bértoli <jbertoli@curii.com>
Tue, 16 Feb 2021 13:51:28 +0000
(10:51 -0300)
refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>
tools/salt-install/provision.sh
patch
|
blob
|
history
diff --git
a/tools/salt-install/provision.sh
b/tools/salt-install/provision.sh
index 08d17090c7d8df2aeb674cbc4833055043435918..f91d67d69a3186a1158b1ae66a3620871f63ad76 100755
(executable)
--- a/
tools/salt-install/provision.sh
+++ b/
tools/salt-install/provision.sh
@@
-156,7
+156,7
@@
fi
apt-get update
apt-get install -y curl git jq
-if
[ which salt-call ]
; then
+if
which salt-call
; then
echo "Salt already installed"
else
curl -L https://bootstrap.saltstack.com -o /tmp/bootstrap_salt.sh