1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/digiwords_ynh.git synced 2024-09-03 18:26:11 +02:00
digiwords_ynh/scripts/upgrade

27 lines
753 B
Text
Raw Permalink Normal View History

2022-02-16 10:25:34 +01:00
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression "Upgrading source files..."
2022-02-16 10:25:34 +01:00
2024-01-14 12:39:55 +01:00
ynh_setup_source --dest_dir="$install_dir" --keep="inc/digiwords.db"
2022-02-16 10:25:34 +01:00
#=================================================
2024-01-14 12:39:55 +01:00
# REAPPLY SYSTEM CONFIGURATIONS
2022-02-16 10:25:34 +01:00
#=================================================
ynh_script_progression "Upgrading system configurations related to $app..."
2022-02-16 10:25:34 +01:00
ynh_config_add_nginx
2022-02-16 10:25:34 +01:00
ynh_config_add_phpfpm
2022-02-16 10:25:34 +01:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Upgrade of $app completed"