Skip to content

Commit 456d374

Browse files
committed
Don't download omnisharp client it's already in the image
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
1 parent 6b2d97f commit 456d374

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

agents/ls-csharp/src/main/resources/org.eclipse.che.ls.csharp.script.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,10 @@ fi
237237
### Install C# LS ###
238238
#####################
239239

240-
curl -s ${AGENT_BINARIES_URI} | tar xzf - -C ${CHE_DIR}
240+
if [ ! -f "${LS_LAUNCHER}" ]; then
241+
curl -s ${AGENT_BINARIES_URI} | tar xzf - -C ${CHE_DIR}
241242

242-
touch ${LS_LAUNCHER}
243-
chmod +x ${LS_LAUNCHER}
244-
echo "nodejs ${LS_DIR}/node_modules/omnisharp-client/languageserver/server.js" > ${LS_LAUNCHER}
243+
touch ${LS_LAUNCHER}
244+
chmod +x ${LS_LAUNCHER}
245+
echo "nodejs ${LS_DIR}/node_modules/omnisharp-client/languageserver/server.js" > ${LS_LAUNCHER}
246+
fi

0 commit comments

Comments
 (0)