]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - bootstrap.sh
Configure some moar
[max/saltfiles.git] / bootstrap.sh
index 721f8b36728b4ab6ad127c39b6e992ae7f9515a5..369f38aad537a36f2b7ef3b35a37847360ec6c1a 100644 (file)
@@ -8,11 +8,9 @@ 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
+if [ ! $1 ]; then
        sudo $SALT_CMD \
                --local \
                --config=./ \