mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Update install
This commit is contained in:
parent
306146d3ce
commit
cad91dab26
1 changed files with 4 additions and 3 deletions
|
@ -286,12 +286,13 @@ fi
|
||||||
### `ynh_replace_string` is used to replace a string in a file.
|
### `ynh_replace_string` is used to replace a string in a file.
|
||||||
### (It's compatible with sed regular expressions syntax)
|
### (It's compatible with sed regular expressions syntax)
|
||||||
|
|
||||||
|
if [ -f /var/www/zabbix/conf/zabbix.conf.php ];then
|
||||||
|
unlink /var/www/zabbix/conf/zabbix.conf.php
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f /etc/zabbix/web/zabbix.conf.php ];then
|
if [ -f /etc/zabbix/web/zabbix.conf.php ];then
|
||||||
rm -f /etc/zabbix/web/zabbix.conf.php
|
rm -f /etc/zabbix/web/zabbix.conf.php
|
||||||
fi
|
fi
|
||||||
if [ -f /var/www/zabbix/conf/zabbix.conf.php ];then
|
|
||||||
rm -f /var/www/zabbix/conf/zabbix.conf.php
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "<?php
|
echo "<?php
|
||||||
// Zabbix GUI configuration file.
|
// Zabbix GUI configuration file.
|
||||||
|
|
Loading…
Add table
Reference in a new issue