mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Update upgrade
This commit is contained in:
parent
6ae5124fdb
commit
5bca763851
1 changed files with 2 additions and 4 deletions
|
@ -24,7 +24,7 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||||
random_key=$(ynh_app_setting_get --app=$app --key=random_key)
|
random_key=$(ynh_app_setting_get --app=$app --key=random_key)
|
||||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
phpversion=$YNH_PHP_VERSION
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
timezone="$(cat /etc/timezone)"
|
timezone="$(cat /etc/timezone)"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -108,7 +108,7 @@ ynh_add_nginx_config
|
||||||
# UPGRADE DEPENDENCIES
|
# UPGRADE DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading dependencies..."
|
ynh_script_progression --message="Upgrading dependencies..."
|
||||||
|
ynh_exec_warn_less ynh_install_composer
|
||||||
ynh_install_app_dependencies "$pkg_dependencies"
|
ynh_install_app_dependencies "$pkg_dependencies"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -125,8 +125,6 @@ ynh_add_fpm_config --usage=low --footprint=low
|
||||||
# UPDATE PHP DEPENDENCIES
|
# UPDATE PHP DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating PHP dependencies..."
|
ynh_script_progression --message="Updating PHP dependencies..."
|
||||||
|
|
||||||
chown -R $app $final_path
|
|
||||||
ynh_exec_warn_less ynh_install_composer
|
ynh_exec_warn_less ynh_install_composer
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue