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