2014-05-08 19:46:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-06-27 17:21:59 +02:00
|
|
|
source _common.sh
|
2017-06-25 00:56:50 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2021-07-04 16:03:50 +02:00
|
|
|
#=================================================
|
|
|
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
|
|
|
#=================================================
|
2024-08-29 10:05:35 +02:00
|
|
|
ynh_script_progression "Upgrading source files..."
|
2020-10-12 20:47:58 +02:00
|
|
|
|
2024-08-29 10:05:35 +02:00
|
|
|
ynh_setup_source --dest_dir="$install_dir" --full_replace
|
2021-11-14 18:15:12 +01:00
|
|
|
|
2018-06-27 17:21:59 +02:00
|
|
|
#=================================================
|
|
|
|
# PHP-FPM CONFIGURATION
|
|
|
|
#=================================================
|
2024-08-29 10:05:35 +02:00
|
|
|
ynh_script_progression "Upgrading PHP-FPM configuration..."
|
2017-06-25 00:56:50 +02:00
|
|
|
|
2024-08-29 10:05:35 +02:00
|
|
|
ynh_config_add_phpfpm
|
2018-06-27 17:21:59 +02:00
|
|
|
|
2024-08-29 10:05:35 +02:00
|
|
|
ynh_config_add_nginx
|
2022-10-16 20:24:22 +02:00
|
|
|
|
2020-04-26 00:47:07 +02:00
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
2017-06-25 00:56:50 +02:00
|
|
|
|
2024-08-29 10:05:35 +02:00
|
|
|
ynh_script_progression "Upgrade of $app completed"
|