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:
parent
d8238ba6a1
commit
881e3736d3
1 changed files with 10 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue