Permalink
Browse files

Only run yum install if there are packages to install.

  • Loading branch information...
1 parent 7e7cb68 commit 2766be6b18b7359253bd941009d545b08e38dd1f Justin Clift committed Dec 26, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 bootstrap.sh
View
@@ -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=""

0 comments on commit 2766be6

Please sign in to comment.