From c6b4402161ad7825aa253f8ab1483aac900361e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 17 Nov 2020 23:49:06 +0100 Subject: [PATCH] Fix package linter --- check_process | 12 ------------ scripts/actions | 8 ++++---- scripts/backup | 8 ++++---- scripts/change_url | 8 ++++---- scripts/install | 8 ++++---- scripts/remove | 8 ++++---- scripts/restore | 8 ++++---- scripts/upgrade | 8 ++++---- 8 files changed, 28 insertions(+), 40 deletions(-) diff --git a/check_process b/check_process index b1c9453..43bed43 100644 --- a/check_process +++ b/check_process @@ -30,18 +30,6 @@ port_already_use=1 (8000) final_path_already_use=1 change_url=1 -;;; Levels - Level 1=auto - Level 2=auto - Level 3=auto - # https://github.com/YunoHost-Apps/seafile_ynh/issues/1 - Level 4=1 - Level 5=auto - Level 6=auto - Level 7=auto - Level 8=0 - Level 9=0 - Level 10=0 ;;; Upgrade options ; commit=db11d890922564dfdcb7937a3a682957082fbb31 diff --git a/scripts/actions b/scripts/actions index 7f6b60c..69b5a4e 100644 --- a/scripts/actions +++ b/scripts/actions @@ -4,16 +4,16 @@ # GENERIC START #================================================= +# Import common cmd +source scripts/experimental_helper.sh +source scripts/_common.sh + # Source YunoHost helpers source /usr/share/yunohost/helpers # Stop script if errors ynh_abort_if_errors -# Import common cmd -source scripts/experimental_helper.sh -source scripts/_common.sh - ynh_print_info --message="Loading installation settings..." # Retrive arguments diff --git a/scripts/backup b/scripts/backup index f081cdb..6357471 100644 --- a/scripts/backup +++ b/scripts/backup @@ -4,16 +4,16 @@ # GENERIC START #================================================= +# Import common cmd +source ../settings/scripts/experimental_helper.sh +source ../settings/scripts/_common.sh + # Source YunoHost helpers source /usr/share/yunohost/helpers # Stop script if errors ynh_abort_if_errors -# Import common cmd -source ../settings/scripts/experimental_helper.sh -source ../settings/scripts/_common.sh - ynh_script_progression --message="Loading installation settings..." # retrieve useful param diff --git a/scripts/change_url b/scripts/change_url index a3b98b1..60023cf 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -4,16 +4,16 @@ # GENERIC START #================================================= +# Import common cmd +source ./experimental_helper.sh +source ./_common.sh + # Source YunoHost helpers source /usr/share/yunohost/helpers # Stop script if errors ynh_abort_if_errors -# Import common cmd -source ./experimental_helper.sh -source ./_common.sh - ynh_script_progression --message="Loading installation settings..." # Retrive arguments diff --git a/scripts/install b/scripts/install index 7d84c69..980665b 100644 --- a/scripts/install +++ b/scripts/install @@ -4,16 +4,16 @@ # GENERIC START #================================================= +# Import common cmd +source ./experimental_helper.sh +source ./_common.sh + # Source YunoHost helpers source /usr/share/yunohost/helpers # Stop script if errors ynh_abort_if_errors -# Import common cmd -source ./experimental_helper.sh -source ./_common.sh - ynh_script_progression --message="Validating installation parameters..." # Retrieve arguments diff --git a/scripts/remove b/scripts/remove index 296cc2c..9ec4ae7 100644 --- a/scripts/remove +++ b/scripts/remove @@ -4,16 +4,16 @@ # GENERIC START #================================================= +# Import common cmd +source ./experimental_helper.sh +source ./_common.sh + # Source YunoHost helpers source /usr/share/yunohost/helpers # Stop script if errors set -u -# Import common cmd -source ./experimental_helper.sh -source ./_common.sh - ynh_script_progression --message="Loading installation settings..." # Retrieve arguments diff --git a/scripts/restore b/scripts/restore index cadfc30..a7c1bf2 100644 --- a/scripts/restore +++ b/scripts/restore @@ -4,16 +4,16 @@ # GENERIC START #================================================= +# Import common cmd +source ../settings/scripts/experimental_helper.sh +source ../settings/scripts/_common.sh + # Source YunoHost helpers source /usr/share/yunohost/helpers # Stop script if errors ynh_abort_if_errors -# Import common cmd -source ../settings/scripts/experimental_helper.sh -source ../settings/scripts/_common.sh - ynh_script_progression --message="Loading settings..." # Retrieve arguments diff --git a/scripts/upgrade b/scripts/upgrade index e7a1860..b19617f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -4,16 +4,16 @@ # GENERIC START #================================================= +# Import common cmd +source ./experimental_helper.sh +source ./_common.sh + # Source YunoHost helpers source /usr/share/yunohost/helpers # Stop script if errors ynh_abort_if_errors -# Import common cmd -source ./experimental_helper.sh -source ./_common.sh - ynh_script_progression --message="Loading installation settings..." # Retrieve arguments