X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bootstrap.sh;h=1f1b001dc32f455a9090efc987865de15068e369;hb=8d0ca5bceb4ef01d3d221e526474a4218ba38327;hp=721f8b36728b4ab6ad127c39b6e992ae7f9515a5;hpb=de1864f0a5d108f5d8d837a5ed90a76730a6a990;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 \