mirror of
https://github.com/YunoHost-Apps/iceshrimp_ynh.git
synced 2024-09-03 19:15:54 +02:00
Update install
This commit is contained in:
parent
4865e0fb8a
commit
2635c1cb6f
1 changed files with 4 additions and 4 deletions
|
@ -69,9 +69,9 @@ ynh_script_progression --message="Building app... This will take some time." --w
|
|||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
corepack enable
|
||||
corepack prepare --activate
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn
|
||||
env $ynh_node_load corepack enable
|
||||
env $ynh_node_load COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare --activate
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init
|
||||
popd
|
||||
|
@ -112,4 +112,4 @@ ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --lin
|
|||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Installation of $app completed"
|
||||
ynh_script_progression --message="Installation of $app completed"
|
||||
|
|
Loading…
Add table
Reference in a new issue