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-05-20 23:16:47 +02:00
parent d22fafb773
commit b430dca141
2 changed files with 8 additions and 8 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" yunohost = ">= 11.2.12"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true

View file

@ -80,17 +80,17 @@ ynh_script_progression --message="Installing $app..." --weight=10
pushd $install_dir pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
corepack enable && corepack prepare pnpm@latest --activate ynh_exec_warn_less npm install pnpm -g
#ynh_exec_warn_less npm install pnpm -g #corepack enable && corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh
popd popd
#Buiding admin #Buiding admin
pushd $install_dir/admin #pushd $install_dir/admin
ynh_use_nodejs #ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack pnpm build # ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack pnpm build
mv $install_dir/admin/dist $install_dir/src/templates/admin/ # mv $install_dir/admin/dist $install_dir/src/templates/admin/
popd #popd
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE