2022-05-14 11:23:52 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
|
|
|
#=================================================
|
2024-08-23 15:13:10 +02:00
|
|
|
ynh_script_progression "Upgrading source files..."
|
2022-05-14 11:23:52 +02:00
|
|
|
|
2024-06-09 08:06:48 +02:00
|
|
|
ynh_setup_source --dest_dir="$install_dir"
|
2022-05-14 11:23:52 +02:00
|
|
|
|
|
|
|
#=================================================
|
2024-08-23 15:13:10 +02:00
|
|
|
# REAPPLY SYSTEM CONFIGURATIONS
|
2022-05-14 11:23:52 +02:00
|
|
|
#=================================================
|
2024-08-23 15:13:10 +02:00
|
|
|
ynh_script_progression "Upgrading system configurations related to $app..."
|
2022-05-14 11:23:52 +02:00
|
|
|
|
2024-08-23 15:13:10 +02:00
|
|
|
ynh_config_add_phpfpm
|
2022-08-26 21:29:00 +02:00
|
|
|
|
2024-08-23 15:13:10 +02:00
|
|
|
ynh_config_add_nginx
|
2022-08-26 21:29:00 +02:00
|
|
|
|
2022-05-14 11:23:52 +02:00
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2024-08-23 15:13:10 +02:00
|
|
|
ynh_script_progression "Upgrade of $app completed"
|