1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00
This commit is contained in:
Éric Gaspar 2024-06-06 13:45:22 +02:00
parent babc2e7b4c
commit 9e9aae305a
3 changed files with 3 additions and 5 deletions

View file

@ -17,7 +17,7 @@ admindoc = "https://etherpad.org/doc/v2.0.2/"
code = "https://github.com/ether/etherpad-lite" code = "https://github.com/ether/etherpad-lite"
[integration] [integration]
yunohost = ">= 11.2.12" yunohost = ">= 11.2.14"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true

View file

@ -80,8 +80,7 @@ ynh_script_progression --message="Installing $app..." --weight=10
pushd $install_dir pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && corepack prepare COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm@latest --activate
ynh_exec_warn_less env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
ynh_exec_warn_less env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh ynh_exec_warn_less env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh
popd popd

View file

@ -101,8 +101,7 @@ ynh_script_progression --message="Installing $app..." --weight=10
pushd $install_dir pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && corepack prepare COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm@latest --activate
ynh_exec_warn_less env $ynh_node_load_PATH 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 ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh
popd popd