From 985972e3b19c4847bb6799382a7536734bb966eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 17 Nov 2020 23:27:31 +0100 Subject: [PATCH] Fix package linter error --- check_process | 11 ----------- scripts/backup | 8 ++++---- scripts/change_url | 8 ++++---- scripts/install | 8 ++++---- scripts/remove | 6 +++--- scripts/restore | 8 ++++---- scripts/upgrade | 8 ++++---- 7 files changed, 23 insertions(+), 34 deletions(-) diff --git a/check_process b/check_process index 9159488..1820ca8 100644 --- a/check_process +++ b/check_process @@ -25,17 +25,6 @@ port_already_use=0 (XXXX) final_path_already_use=1 change_url=1 -;;; Levels - Level 1=auto - Level 2=auto - Level 3=auto - Level 4=1 - Level 5=auto - Level 6=auto - Level 7=auto - Level 8=0 - Level 9=0 - Level 10=0 ;;; Upgrade options ; commit=f39b77ae010dc6ed197b4b8e92110bede6ed4e07 name=Before sso Support and refactoring diff --git a/scripts/backup b/scripts/backup index 3a08d8b..9b7d322 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 - #================================================= # STANDARD BACKUP STEPS #================================================= diff --git a/scripts/change_url b/scripts/change_url index d041fb6..3a95905 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 - # Retrive arguments ynh_script_progression --message="Loading installation settings..." old_domain=$YNH_APP_OLD_DOMAIN diff --git a/scripts/install b/scripts/install index 218b7c2..9869adb 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 9eb0514..ea3e66d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -4,13 +4,13 @@ # GENERIC START #================================================= -# Source YunoHost helpers -source /usr/share/yunohost/helpers - # Import common cmd source ./experimental_helper.sh source ./_common.sh +# Source YunoHost helpers +source /usr/share/yunohost/helpers + #================================================= # STANDARD REMOVE #================================================= diff --git a/scripts/restore b/scripts/restore index 501b708..47c7be4 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 - # Retrieve arguments ynh_script_progression --message="Loading settings..." domain=$(ynh_app_setting_get --app $app --key domain) diff --git a/scripts/upgrade b/scripts/upgrade index 96d80cc..7bf9fe0 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 - # Retrieve arguments ynh_script_progression --message="Loading installation settings..." domain=$(ynh_app_setting_get --app $app --key domain)