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:
parent
2e438f33eb
commit
deaca58c79
1 changed files with 3 additions and 3 deletions
|
@ -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 !"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue