Skip to content

Commit 9bccfc7

Browse files
author
Alexander Garagatyi
authored
CHE-4721: fix agents install scripts (eclipse-che#4723)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
1 parent 3ab4472 commit 9bccfc7

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

agents/exec/src/main/resources/org.eclipse.che.exec.script.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ command -v wget >/dev/null 2>&1 && WGET_INSTALLED=true
2020
# no curl, no wget, install curl
2121
if [ ${CURL_INSTALLED} = false ] && [ ${WGET_INSTALLED} = false ]; then
2222
PACKAGES=${PACKAGES}" curl";
23+
CURL_INSTALLED=true
2324
fi
2425

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

agents/terminal/src/main/resources/org.eclipse.che.terminal.script.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ command -v wget >/dev/null 2>&1 && WGET_INSTALLED=true
2020
# no curl, no wget, install curl
2121
if [ ${CURL_INSTALLED} = false ] && [ ${WGET_INSTALLED} = false ]; then
2222
PACKAGES=${PACKAGES}" curl";
23+
CURL_INSTALLED=true
2324
fi
2425

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

wsagent/agent/src/main/resources/org.eclipse.che.ws-agent.script.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ command -v wget >/dev/null 2>&1 && WGET_INSTALLED=true
2020
# no curl, no wget, install curl
2121
if [ ${CURL_INSTALLED} = false ] && [ ${WGET_INSTALLED} = false ]; then
2222
PACKAGES=${PACKAGES}" curl";
23+
CURL_INSTALLED=true
2324
fi
2425

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

0 commit comments

Comments
 (0)