1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

Update _common.sh

This commit is contained in:
Éric Gaspar 2023-10-19 14:18:52 +02:00
parent 2e438f33eb
commit deaca58c79

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
YNH_PHP_VERSION="7.3" YNH_PHP_VERSION="7.4"
# dependencies used by the app # dependencies used by the app
if [ "$(lsb_release --codename --short)" = "bullseye" ]; then if [ "$(lsb_release --codename --short)" = "bullseye" ]; then
@ -220,9 +220,9 @@ check_proc_zabbixagent () {
# Remove previous Zabbix installation # Remove previous Zabbix installation
# #
remove_previous_zabbix () { remove_previous_zabbix () {
ynh_print_info --message="Previous Zabbix installation will be purged !" #ynh_print_info --message="Previous Zabbix installation will be purged !"
apt-get purge zabbix* -y apt-get purge zabbix* -y
ynh_secure_remove --file="/var/cache/apt/archives/zabbix-server-mysql*" #ynh_secure_remove --file="/var/cache/apt/archives/zabbix-server-mysql*"
ynh_print_info --message="Previous Zabbix installation purged !" ynh_print_info --message="Previous Zabbix installation purged !"
} }