Skip to content

Commit

Permalink
CHE-4721: fix agents install scripts (eclipse-che#4723)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
  • Loading branch information
Alexander Garagatyi authored Apr 6, 2017
1 parent a4caf84 commit da6cf01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ command -v wget >/dev/null 2>&1 && WGET_INSTALLED=true
# no curl, no wget, install curl
if [ ${CURL_INSTALLED} = false ] && [ ${WGET_INSTALLED} = false ]; then
PACKAGES=${PACKAGES}" curl";
CURL_INSTALLED=true
fi

test "$(id -u)" = 0 || SUDO="sudo -E"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ command -v wget >/dev/null 2>&1 && WGET_INSTALLED=true
# no curl, no wget, install curl
if [ ${CURL_INSTALLED} = false ] && [ ${WGET_INSTALLED} = false ]; then
PACKAGES=${PACKAGES}" curl";
CURL_INSTALLED=true
fi

test "$(id -u)" = 0 || SUDO="sudo -E"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ command -v wget >/dev/null 2>&1 && WGET_INSTALLED=true
# no curl, no wget, install curl
if [ ${CURL_INSTALLED} = false ] && [ ${WGET_INSTALLED} = false ]; then
PACKAGES=${PACKAGES}" curl";
CURL_INSTALLED=true
fi

test "$(id -u)" = 0 || SUDO="sudo -E"
Expand Down

0 comments on commit da6cf01

Please sign in to comment.