diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-20 16:30:03 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-20 16:30:03 -0200 |
commit | e86c93ccf2d32861af4f6acec536acfbe955a752 (patch) | |
tree | a8ecd0122b0f3cb70b71c07cfe35536d8bea782c /share/provision/development | |
parent | 8dd4ef2309bac2aa9487f43c677312570655cc49 (diff) | |
download | kvmx-e86c93ccf2d32861af4f6acec536acfbe955a752.tar.gz kvmx-e86c93ccf2d32861af4f6acec536acfbe955a752.tar.bz2 |
Provision: some error handling
Diffstat (limited to 'share/provision/development')
-rwxr-xr-x | share/provision/development | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/provision/development b/share/provision/development index dc06145..51d9ecf 100755 --- a/share/provision/development +++ b/share/provision/development @@ -31,9 +31,9 @@ cd # Dependencies echo "Installing basic dependencies..." -sudo sed -i -e "s|main$|main contrib non-free|g" /etc/apt/sources.list -sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean -$APT_INSTALL git +sudo sed -i -e "s|main$|main contrib non-free|g" /etc/apt/sources.list || exit 1 +sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean || exit 1 +$APT_INSTALL git || exit 1 # Tools if [ ! -e "apps/inception" ]; then |