From cad91dab26528fb707411f7bd2ce273a87c0674f Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Fri, 31 May 2019 13:50:33 +0200 Subject: [PATCH] Update install --- scripts/install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 9f9c4b8..1434394 100644 --- a/scripts/install +++ b/scripts/install @@ -286,12 +286,13 @@ fi ### `ynh_replace_string` is used to replace a string in a file. ### (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 rm -f /etc/zabbix/web/zabbix.conf.php fi -if [ -f /var/www/zabbix/conf/zabbix.conf.php ];then - rm -f /var/www/zabbix/conf/zabbix.conf.php -fi echo "