support/busser_install_command.sh in test-kitchen-1.10.0 vs support/busser_install_command.sh in test-kitchen-1.10.1

- old
+ new

@@ -1,14 +1,14 @@ -$gem list busser -i 2>&1 >/dev/null -if test $? -ne 0; then - echo "-----> Installing Busser ($version)" - $gem install $gem_install_args -else - echo "-----> Busser installation detected ($version)" -fi - -if test ! -f "$BUSSER_ROOT/bin/busser"; then - $busser setup -fi - -echo " Installing Busser plugins: $plugins" -$busser plugin install $plugins +$gem list busser -i 2>&1 >/dev/null +if test $? -ne 0; then + echo "-----> Installing Busser ($version)" + $gem install $gem_install_args +else + echo "-----> Busser installation detected ($version)" +fi + +if test ! -f "$BUSSER_ROOT/bin/busser"; then + $busser setup +fi + +echo " Installing Busser plugins: $plugins" +$busser plugin install $plugins