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

Update upgrade

This commit is contained in:
Éric Gaspar 2024-06-06 13:13:12 +02:00
parent 3da143f64f
commit 110909830b

View file

@ -138,7 +138,7 @@ chown $app:$app "$install_dir/credentials.json"
ynh_script_progression --message="Upgrading $app..." --weight=10
pushd $install_dir
ynh_exec_warn_less npm install pnpm -g
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh && \
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm run install-plugins \
ep_align@${ep_align_version} \