mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
clean
This commit is contained in:
parent
d22fafb773
commit
b430dca141
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue