From 07c6497cb288b12e2973318c41bbc0c9fd9028d3 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 4 Dec 2023 21:15:42 +0100 Subject: [PATCH] Remove the weird 'remove previous zabbix' stuff, which now removes the zabbig that just got install during apt resource phase --- scripts/_common.sh | 9 --------- scripts/install | 7 ------- scripts/restore | 7 ------- 3 files changed, 23 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index f73363b..974001f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -204,15 +204,6 @@ check_proc_zabbixagent () { fi } -# Remove previous Zabbix installation -# -remove_previous_zabbix () { - #ynh_print_info --message="Previous Zabbix installation will be purged !" - apt-get purge zabbix* -y - #ynh_secure_remove --file="/var/cache/apt/archives/zabbix-server-mysql*" - ynh_print_info --message="Previous Zabbix installation purged!" -} - # Update Zabbix configuration initialisation # update_initZabbixConf () { diff --git a/scripts/install b/scripts/install index e6c8b80..a6f2c87 100644 --- a/scripts/install +++ b/scripts/install @@ -9,13 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS -#================================================= -ynh_script_progression --message="Validating installation parameters..." - -remove_previous_zabbix - #================================================= # STANDARD MODIFICATIONS #================================================= diff --git a/scripts/restore b/scripts/restore index a6a87c4..4c7fc37 100644 --- a/scripts/restore +++ b/scripts/restore @@ -10,13 +10,6 @@ source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK IF THE APP CAN BE RESTORED -#================================================= -ynh_script_progression --message="Validating restoration parameters..." - -remove_previous_zabbix - #================================================= # STANDARD RESTORATION STEPS #=================================================