diff --git a/hooks/install b/hooks/install index 015c1435..e9027a88 100755 --- a/hooks/install +++ b/hooks/install @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # Wrapper to deal with newer Ubuntu versions that don't have py2 installed # by default. diff --git a/hooks/install_deps b/hooks/install_deps index 506d9d64..4d06619a 100755 --- a/hooks/install_deps +++ b/hooks/install_deps @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # Install required dependencies for charm runtime declare -a DEPS=('apt' 'netaddr' 'netifaces' 'yaml' 'jinja2' 'dnspython') diff --git a/hooks/upgrade-charm b/hooks/upgrade-charm index c1771bf0..14948004 100755 --- a/hooks/upgrade-charm +++ b/hooks/upgrade-charm @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # Re-install dependencies to deal with py2->py3 switch for charm ./hooks/install_deps