summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall_dependencies.sh21
1 files changed, 18 insertions, 3 deletions
diff --git a/install_dependencies.sh b/install_dependencies.sh
index 8173264..fcd3a42 100755
--- a/install_dependencies.sh
+++ b/install_dependencies.sh
@@ -86,6 +86,21 @@ if [ $? -ne 0 ]; then
$SUDO rm get-pip.py
fi
-$SUDO pip install fs pyyaml sandboxlib requests
-$SUDO pip install jsonschema bottle cherrypy riemann-client
-$SUDO pip install pep8
+while read module
+do
+ $SUDO pip install $module
+ if [ $? -ne 0 ]; then
+ echo "Pip install failed for" $module
+ exit 1
+ fi
+done <<EOM
+pep8
+fs
+pyyaml
+sandboxlib
+requests
+jsonschema
+bottle
+cherrypy
+riemann-client
+EOM