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)
|
||||
|
||||
# Then update the additionnal modules
|
||||
(cd "$final_path"
|
||||
npm cache clean
|
||||
while read node_module
|
||||
do
|
||||
echo "Update $node_module"
|
||||
(cd "$final_path/node_modules/$node_module"
|
||||
npm cache clean
|
||||
ynh_exec_warn_less npm update || true)
|
||||
done <<< "$(ls -1 "$final_path/node_modules")"
|
||||
ynh_exec_warn_less npm install --upgrade $node_module || true
|
||||
done <<< "$(ls -1 "$final_path/node_modules" | grep "^ep_")")
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
|
|
Loading…
Add table
Reference in a new issue