Skip to content

Commit

Permalink
Skip downloading binaries if node_modules exist (eclipse-che#9571)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Ivantsov authored and hbhargav committed Dec 4, 2018
1 parent 66662c1 commit 3ab39ef
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,10 @@ fi
### Install C# LS ###
#####################

curl -s ${AGENT_BINARIES_URI} | tar xzf - -C ${CHE_DIR}

if [ ! -d "${LS_DIR}/node_modules" ]; then
curl -s ${AGENT_BINARIES_URI} | tar xzf - -C ${CHE_DIR}
fi

touch ${LS_LAUNCHER}
chmod +x ${LS_LAUNCHER}
Expand Down

0 comments on commit 3ab39ef

Please sign in to comment.