From d13eb684c437a78b2d71de85b9f7d57f1edbff29 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 2 Dec 2020 09:44:07 +0100 Subject: [PATCH] Fix linter warnings --- scripts/restore | 2 +- scripts/upgrade | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/restore b/scripts/restore index 92499c2..00ef06f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -107,7 +107,7 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name ynh_script_progression --message="Restoring the systemd configuration..." --weight=4 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST diff --git a/scripts/upgrade b/scripts/upgrade index 0001056..42f89ac 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,13 +73,6 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors -#================================================= -# CHECK THE PATH -#================================================= - -# Normalize the URL path syntax -path_url=$(ynh_normalize_url_path $path_url) - #================================================= # STANDARD UPGRADE STEPS #=================================================