mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
Fix
This commit is contained in:
parent
61de7aa488
commit
7afa63690f
3 changed files with 3 additions and 4 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue