Fail installing pre-requisites if apt-get fails.

I had this happen to me and the script silently failed and continued
with building libevent and other things. Yet I couldn't run gyp afterwards.

Change-Id: I302b9de29843995cbeece264313c6e20fbd4b741
Reviewed-on: https://weave-review.googlesource.com/1097
Reviewed-by: Vitaly Buka <vitalybuka@google.com>
1 file changed
tree: d42db200cf8da66fd5724d84e23172fb30c40cf4
  1. libweave/