Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only run yum install if there are packages to install.

  • Loading branch information...
commit 2766be6b18b7359253bd941009d545b08e38dd1f 1 parent 7e7cb68
@justinclift justinclift authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 bootstrap.sh
View
4 bootstrap.sh
@@ -184,7 +184,9 @@ if [ "$os" = "f16" -o "$os" = "f17" -o "$os" = "el6" ]; then
done
# Install the needed packages
- sudo yum install -y $install_list
+ if [ "x$install_list" != "x" ]; then
+ sudo yum install -y $install_list
+ fi
# Verify the dependencies did install
fail_list=""
Please sign in to comment.
Something went wrong with that request. Please try again.