1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yellow_ynh.git synced 2024-09-03 20:36:12 +02:00
yellow_ynh/scripts/upgrade

27 lines
768 B
Text
Raw Permalink Normal View History

2020-11-02 12:24:37 +01:00
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression "Upgrading source files..."
2020-11-02 12:24:37 +01:00
ynh_setup_source --dest_dir="$install_dir" --keep="content media system/extensions"
2021-06-04 21:37:11 +02:00
2020-11-02 12:24:37 +01:00
#=================================================
2023-11-23 09:47:20 +01:00
# REAPPLY SYSTEM CONFIGURATIONS
2020-11-02 12:24:37 +01:00
#=================================================
ynh_script_progression "Upgrading system configurations related to $app..."
2020-11-02 12:24:37 +01:00
ynh_config_add_nginx
2020-11-02 12:24:37 +01:00
ynh_config_add_phpfpm
2020-11-02 12:24:37 +01:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Upgrade of $app completed"