Skip to content

Commit

Permalink
CHE-4721: fix agents install scripts (#4723)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Garagatyi <[email protected]>
  • Loading branch information
Alexander Garagatyi authored Apr 6, 2017
1 parent 3ab4472 commit 9bccfc7
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 9bccfc7

Please sign in to comment.