mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
check for nvm presence before using, survive abscence
This commit is contained in:
parent
0009fabce4
commit
e591df91f5
1 changed files with 6 additions and 6 deletions
|
@ -4,12 +4,12 @@ grep 'name:' config/services.js | \
|
||||||
sed 's/.*name: "\(.*\)",/\1/' | \
|
sed 's/.*name: "\(.*\)",/\1/' | \
|
||||||
while read service
|
while read service
|
||||||
do
|
do
|
||||||
pushd $service &&
|
pushd $service
|
||||||
echo "Installing Service $service" &&
|
echo "Installing Service $service"
|
||||||
echo ' installing Node' &&
|
echo ' installing Node'
|
||||||
nvm install &&
|
type nvm && nvm install
|
||||||
nvm use &&
|
type nvm && nvm use
|
||||||
echo ' installing Dependencies' &&
|
echo ' installing Dependencies'
|
||||||
npm install
|
npm install
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue