mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Merge pull request #94 from YunoHost-Apps/plugin_issue
Fix plugin issue
This commit is contained in:
commit
c03d0d49eb
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ ynh_script_progression --message="Upgrading Etherpad npm modules..." --weight=60
|
|||
chown -R $app: $final_path
|
||||
(cd "$final_path/src"
|
||||
ynh_exec_warn_less npm cache clean --force
|
||||
# Remove package-lock.json to prevent any shit during npm update...
|
||||
ynh_secure_remove --file="$final_path/src/package-lock.json"
|
||||
ynh_exec_warn_less ynh_exec_as $app PATH="$nodejs_path:$PATH" "$nodejs_path/npm" update)
|
||||
|
||||
# Then update the additionnal modules
|
||||
|
|
Loading…
Add table
Reference in a new issue