From 66bd3b54f1618ce6b5f361f85636f7c553854c17 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 14 Jan 2022 23:58:52 +0100 Subject: [PATCH] Update change_url --- scripts/change_url | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 90733ed..c9a479d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,18 +1,18 @@ #!/bin/bash #================================================= -# GENERIC START +# GENERIC STARTING +#================================================= +# IMPORT GENERIC HELPERS #================================================= -# Import common cmd -source ./_common.sh - -# IMPORT GENERIC HELPERS +source _common.sh source /usr/share/yunohost/helpers -# Exit if an error occurs during the execution of the script -ynh_abort_if_errors +#================================================= +# RETRIEVE ARGUMENTS +#================================================= ynh_script_progression --message="Loading installation settings..." # RETRIEVE ARGUMENTS @@ -51,4 +51,8 @@ ynh_store_file_checksum --file "/etc/nginx/conf.d/$domain.d/$app.conf" #Configure Nginx config_nginx +#================================================= +# END OF SCRIPT +#================================================= + ynh_script_progression --message="Change of URL completed for $app" --last