1
0
Fork 0
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:
Maniack Crudelis 2020-04-22 17:18:58 +02:00 committed by GitHub
commit c03d0d49eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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