master
Meliurwen 2 years ago
parent 2ac60d145d
commit 32c281612e
  1. 8
      src/main.sh

@ -20,12 +20,14 @@ else
echo "Release selected: ${CHECKOUT}"
fi
REPO_PATH=vscodium
echo "Getting the source..."
REPO_PATH=vscodium ./getsauce.sh "git" \
REPO_PATH="$REPO_PATH" ./getsauce.sh "git" \
"${REPO_URL}" \
"${CHECKOUT}"
NODE_VERSION="$(cat project/.nvmrc)"
NODE_VERSION="$(cat $REPO_PATH/.nvmrc)"
echo "Checking if node is already installed..."
if command -v node; then
@ -33,7 +35,7 @@ if command -v node; then
node --version
else
echo "Node not installed."
echo "Building node..."
echo "Building node ($NODE_VERSION)..."
./build.npm.sh $NODE_VERSION
#./install.npm.thirdparty.sh && sudo apt-get -qq -y --no-install-recommends install python-is-python3
fi

Loading…
Cancel
Save