mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Remove the weird 'remove previous zabbix' stuff, which now removes the zabbig that just got install during apt resource phase
This commit is contained in:
parent
c7391d77b1
commit
07c6497cb2
3 changed files with 0 additions and 23 deletions
|
@ -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 () {
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue