mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
fix
This commit is contained in:
parent
d4dab59b7b
commit
eb22f4d874
2 changed files with 7 additions and 8 deletions
|
@ -80,10 +80,9 @@ ynh_script_progression --message="Installing $app..." --weight=10
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
env $ynh_node_load_PATH corepack enable
|
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable
|
||||||
env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
|
ynh_exec_warn_less env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
|
||||||
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
|
||||||
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --recursive --production
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -97,13 +97,13 @@ chown $app:$app "$install_dir/credentials.json"
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL ETHERPAD
|
# INSTALL ETHERPAD
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing $app..." --weight=60
|
ynh_script_progression --message="Installing $app..." --weight=10
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
env $ynh_node_load_PATH corepack enable
|
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable
|
||||||
env $ynh_node_load_PATH corepack prepare 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 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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue