Merge "Update pre-install hooks to fail on error"
This commit is contained in:
commit
5e86d70e71
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
# Wrapper to deal with newer Ubuntu versions that don't have py2 installed
|
||||
# by default.
|
||||
|
||||
@ -9,7 +9,7 @@ check_and_install() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ $(lsb_release -sc) -eq "trusty" ]]; then
|
||||
if [[ "$(lsb_release -sc)" == "trusty" ]]; then
|
||||
juju-log "Enabling cloud archive to work around old trusty tools"
|
||||
# Add a random cloud archive for the Openstack python3 clients
|
||||
add-apt-repository --yes ppa:ubuntu-cloud-archive/mitaka-staging
|
||||
|
Loading…
Reference in New Issue
Block a user