1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gancio_ynh.git synced 2024-09-03 20:36:19 +02:00
This commit is contained in:
lapineige 2023-10-05 20:22:07 +02:00 committed by GitHub
parent 4d21964fec
commit 8c631c9c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,20 +98,13 @@ chown $app:$app "/var/log/$app"
#=================================================
# INSTALL YARN AND APP
#=================================================
ynh_script_progression --message="Installing yarn dependency and building the app..." --weight=15
ynh_script_progression --message="Installing app dependencies..." --weight=15
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install # Install dependencies
popd
#=================================================
# SETUP APPLICATION WITH CURL
#=================================================
#### TODO in Yunohost App Generator
# Installation with curl
ynh_script_progression --message="Finalizing installation..." --weight=1
ynh_local_curl "/INSTALL_PATH" "key1=value1" "key2=value2" "key3=value3"
#=================================================
# GENERIC FINALIZATION