1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00
This commit is contained in:
ericgaspar 2021-12-10 10:21:07 +01:00
parent 61de7aa488
commit 7afa63690f
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 4 deletions

View file

@ -13,7 +13,6 @@
"website": "https://monicahq.com",
"demo": "https://demo.example.com",
"admindoc": "https://yunohost.org/packaging_apps",
"userdoc": "https://yunohost.org/apps",
"code": "https://github.com/monicahq/monica"
},
"license": "GPL-3.0",

View file

@ -61,7 +61,6 @@ ynh_app_setting_set --app=$app --key=dav_support --value=$dav_support
ynh_app_setting_set --app=$app --key=signup --value=$signup
ynh_app_setting_set --app=$app --key=two_factor --value=$two_factor
ynh_app_setting_set --app=$app --key=version --value=$version
ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion
#=================================================
# STANDARD MODIFICATIONS
@ -174,7 +173,7 @@ ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
#=================================================
ynh_script_progression --message="Installing Composer dependencies..."
ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
ynh_install_composer --install_args="--no-interaction --no-dev"
#=================================================
# DEPLOY

View file

@ -148,7 +148,8 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
ynh_script_progression --message="Updating PHP dependencies..."
ynh_exec_warn_less ynh_composer_exec --phpversion="$phpversion" --workdir="$final_path" --commands="update"
#ynh_exec_warn_less ynh_composer_exec --phpversion="$phpversion" --workdir="$final_path" --commands="update"
ynh_install_composer --commands="update"
#=================================================
# UPDATE A CONFIG FILE