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 #=================================================