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