1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2024-04-11 10:48:43 +02:00
parent 118e245723
commit d4e849f157

View file

@ -58,7 +58,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir" --keep="settings.json credentials.json"
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="settings.json credentials.json"
fi
chmod -R o-rwx "$install_dir"
@ -114,6 +114,7 @@ ynh_script_progression --message="Installing $app..." --weight=60
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less npm install pnpm -g
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh
popd