Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Now with 100% more "actually works". :)

  • Loading branch information...
commit 7e7cb687df46b09a410ea5099c5bf101368ef2c9 1 parent 5cd3430
@justinclift justinclift authored
Showing with 3 additions and 8 deletions.
  1. +3 −8 bootstrap.sh
View
11 bootstrap.sh
@@ -183,13 +183,10 @@ if [ "$os" = "f16" -o "$os" = "f17" -o "$os" = "el6" ]; then
fi
done
-## debugging code
-echo Install list: $install_list
-
# Install the needed packages
sudo yum install -y $install_list
- # Sanity check the dependencies did install
+ # Verify the dependencies did install
fail_list=""
for dep in `echo $depends`; do
if ! `rpm -q --quiet --nodigest $dep`; then
@@ -197,10 +194,8 @@ echo Install list: $install_list
fi
done
-## debugging code
-echo Fail list: $fail_list
-
- if [ "x$fail_list" = "x" ]; then
+ # If anything failed verification, we tell the user and exit
+ if [ "x$fail_list" != "x" ]; then
echo "ABORTING: FAILED TO INSTALL $fail_list"
exit 1
fi
Please sign in to comment.
Something went wrong with that request. Please try again.