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
e80c03a39e
commit
8da76ae8a2
1 changed files with 3 additions and 1 deletions
|
@ -125,8 +125,10 @@ ynh_script_progression --message="Installating composer and dependencies..."
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_install_composer
|
ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
|
||||||
|
if [[ -f "$final_path/config/config.ini.php" ]]; then
|
||||||
php$phpversion $final_path/console core:update -n
|
php$phpversion $final_path/console core:update -n
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue