mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Fix modules upgrade
This commit is contained in:
parent
34a41539f1
commit
205f1e0bee
1 changed files with 4 additions and 4 deletions
|
@ -158,13 +158,13 @@ npm cache clean
|
||||||
ynh_exec_warn_less npm update)
|
ynh_exec_warn_less npm update)
|
||||||
|
|
||||||
# Then update the additionnal modules
|
# Then update the additionnal modules
|
||||||
|
(cd "$final_path"
|
||||||
|
npm cache clean
|
||||||
while read node_module
|
while read node_module
|
||||||
do
|
do
|
||||||
echo "Update $node_module"
|
echo "Update $node_module"
|
||||||
(cd "$final_path/node_modules/$node_module"
|
ynh_exec_warn_less npm install --upgrade $node_module || true
|
||||||
npm cache clean
|
done <<< "$(ls -1 "$final_path/node_modules" | grep "^ep_")")
|
||||||
ynh_exec_warn_less npm update || true)
|
|
||||||
done <<< "$(ls -1 "$final_path/node_modules")"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
|
|
Loading…
Add table
Reference in a new issue