updated install script

pull/202/head
Cédric Bonhomme 2019-11-14 08:08:49 +01:00
parent 111b5c045c
commit e901f5185b
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 11 additions and 1 deletions

View File

@ -54,7 +54,6 @@ fi
composer install -o
currentPath=`pwd`
pathCore="module/Monarc/Core"
pathFO="module/Monarc/FrontOffice"
@ -73,6 +72,17 @@ if [[ $bypass -eq 0 ]]; then
migrate_module $pathFO
fi
if [[ -d node_modules && -d node_modules/ng_anr ]]; then
if [[ -d node_modules/ng_anr/.git ]]; then
pull_if_exists node_modules/ng_client
pull_if_exists node_modules/ng_anr
else
npm update
fi
else
npm install
fi
cd node_modules/ng_client
npm install
cd ../..