From 8f15c8dabb6ad13a7c1cd01aa39e2d00d521c066 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 23 Feb 2020 10:46:56 -0700 Subject: [PATCH] fix ci install --- .tests/install/ubuntu/Dockerfile | 2 +- install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.tests/install/ubuntu/Dockerfile b/.tests/install/ubuntu/Dockerfile index 3cee18f..30cdae7 100644 --- a/.tests/install/ubuntu/Dockerfile +++ b/.tests/install/ubuntu/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:bionic as base WORKDIR /tmp COPY ./install.sh /tmp/install.sh RUN apt-get update && apt-get install -y apt-utils \ - && apt-get install -y curl gnupg build-essential + && apt-get install -y curl git gnupg build-essential # FROM base as install # RUN bash /tmp/install.sh diff --git a/install.sh b/install.sh index bc16bc8..60442f9 100755 --- a/install.sh +++ b/install.sh @@ -406,6 +406,7 @@ install_app () { if [[ ! $? == 0 ]]; then echo "[ERROR] An error occurred while trying to install hyperglass." + exit 1 else local successful=$(has_cmd "hyperglass") if [[ successful == 0 ]]; then