X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bootstrap.sh;h=1f1b001dc32f455a9090efc987865de15068e369;hb=8d0ca5bceb4ef01d3d221e526474a4218ba38327;hp=9cad37c2ee204ebd254b81759284944a6c6ece4e;hpb=acdc15c5fda9fbd45371d60fb2770ff126a4d5f0;p=max%2Fsaltfiles.git diff --git a/bootstrap.sh b/bootstrap.sh index 9cad37c..1f1b001 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -8,9 +8,7 @@ install_salt() { sudo sh "${bootstrap}" -P } -if ! which $SALT_CMD; then - install_salt -fi +which $SALT_CMD > /dev/null || install_salt if [[ ! $1 ]]; then sudo $SALT_CMD \