From b430dca141fc9601bc8eb7fbd6ff080195876257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 20 May 2024 23:16:47 +0200 Subject: [PATCH] clean --- manifest.toml | 2 +- scripts/install | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/manifest.toml b/manifest.toml index 8b26ec8..f2258f7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,7 +17,7 @@ admindoc = "https://etherpad.org/doc/v2.0.2/" code = "https://github.com/ether/etherpad-lite" [integration] -yunohost = ">= 11.2" +yunohost = ">= 11.2.12" architectures = "all" multi_instance = true diff --git a/scripts/install b/scripts/install index 9ada303..65be154 100644 --- a/scripts/install +++ b/scripts/install @@ -80,17 +80,17 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir 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 popd #Buiding admin -pushd $install_dir/admin -ynh_use_nodejs - 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/ -popd +#pushd $install_dir/admin +#ynh_use_nodejs +# 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/ +#popd #================================================= # START SYSTEMD SERVICE