diff --git a/manifest.json b/manifest.json index c2ee0d5..9a48e4d 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/scripts/install b/scripts/install index 24f6541..f734a53 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index f44027a..10647e5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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