1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Update install

This commit is contained in:
Éric Gaspar 2024-06-08 11:53:32 +02:00
parent 58c08a2a4c
commit 2874b44435

View file

@ -82,7 +82,6 @@ pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate
ynh_exec_warn_less env $ynh_node_load_PATH pnpm --recursive i --production ynh_exec_warn_less env $ynh_node_load_PATH pnpm --recursive i --production
ynh_secure_remove --file="$install_dir/var/minified*"
popd popd
#================================================= #=================================================
@ -92,6 +91,8 @@ ynh_script_progression --message="Starting a systemd service..." --weight=6
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is" ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is"
ynh_secure_remove --file="$install_dir/var/minified*"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================