1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00
This commit is contained in:
ericgaspar 2021-05-17 09:39:18 +02:00
parent 45ebbc12bc
commit 46f4f04fc5
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 2 deletions

View file

@ -135,6 +135,7 @@ chown -R $app: $final_path
pushd $final_path || ynh_die pushd $final_path || ynh_die
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" ynh_npm install -g npm@7.13.0
ynh_exec_as $app env $ynh_node_load_PATH src/bin/installDeps.sh ynh_exec_as $app env $ynh_node_load_PATH src/bin/installDeps.sh
popd || ynh_die popd || ynh_die

View file

@ -130,9 +130,10 @@ chown -R $app: $final_path
pushd $final_path || ynh_die pushd $final_path || ynh_die
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" ynh_npm install -g npm@7.13.0
ynh_exec_as $app env $ynh_node_load_PATH src/bin/installDeps.sh ynh_exec_as $app env $ynh_node_load_PATH src/bin/installDeps.sh
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm cache clean --force ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" ynh_npm cache clean --force
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm install --upgrade ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" ynh_npm install --upgrade
popd || ynh_die popd || ynh_die
#================================================= #=================================================