1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/20euros_ynh.git synced 2024-09-03 18:05:53 +02:00
20euros_ynh/scripts/upgrade

25 lines
680 B
Text
Raw Permalink Normal View History

2015-03-08 15:02:54 +01:00
#!/bin/bash
2020-05-10 10:40:23 +02:00
source /usr/share/yunohost/helpers
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression "Upgrading source files..."
2020-05-10 10:40:23 +02:00
mkdir -p $install_dir
cp -a ../sources/* $install_dir
2015-03-08 15:02:54 +01:00
2020-05-10 10:40:23 +02:00
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression "Upgrading NGINX web server configuration..."
2020-05-10 10:40:23 +02:00
ynh_config_add_nginx
2020-05-10 10:40:23 +02:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Upgrade of $app completed"