test if volta is present befor trying to install nodejs
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/deploy Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful

This commit is contained in:
OCram85 2023-07-19 12:33:03 +02:00
parent 41ad68b17e
commit 16f2a3a310

View File

@ -236,6 +236,7 @@ function main() {
sayW "Installing NodeJS with legacy function" "Arkanum" sayW "Installing NodeJS with legacy function" "Arkanum"
instNodeJs instNodeJs
else else
instVolta
instNodeJS2 instNodeJS2
fi fi
elif [[ "$i" == "volta" ]]; then elif [[ "$i" == "volta" ]]; then