#!/bin/bash source /usr/share/yunohost/helpers #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= ynh_script_progression "Upgrading source files..." mkdir -p $install_dir cp -a ../sources/* $install_dir #================================================= # NGINX CONFIGURATION #================================================= ynh_script_progression "Upgrading NGINX web server configuration..." ynh_config_add_nginx #================================================= # END OF SCRIPT #================================================= ynh_script_progression "Upgrade of $app completed"