1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-05-18 10:41:49 +02:00
parent d8238ba6a1
commit 881e3736d3
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -137,10 +137,17 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie
#================================================= #=================================================
ynh_script_progression --message="Installating composer and dependencies..." ynh_script_progression --message="Installating composer and dependencies..."
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_install_composer --phpversion="$phpversion" --workdir="$final_path" ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
if [[ -f "$final_path/config/config.ini.php" ]]; then # if [[ -f "$final_path/config/config.ini.php" ]]; then
php$phpversion $final_path/console core:update # php$phpversion $final_path/console core:update -n
# fi
php$phpversion $final_path/console core:update -n
fi fi
#================================================= #=================================================