Update scripts/install

This commit is contained in:
denis 2024-11-15 12:53:12 -05:00
parent a5ded78bc6
commit 05c26013b5

View file

@ -29,7 +29,7 @@ source /usr/share/yunohost/helpers
ynh_script_progression --message="Installing dependencies..." --weight=7 ynh_script_progression --message="Installing dependencies..." --weight=7
# Install Nodejs # Install Nodejs
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=20 ynh_hide_warnings ynh_install_nodejs --nodejs_version=20
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
@ -165,10 +165,10 @@ ynh_config_add_logrotate
pushd $install_dir pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH yarn install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH workspace @chibisafe/backend generate ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH workspace @chibisafe/backend generate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH workspace @chibisafe/backend migrate ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH workspace @chibisafe/backend migrate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH yarn build
popd popd
# Installation with curl # Installation with curl