Mickael-Martin пре 6 година
родитељ
комит
9dd84cf450
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      scripts/install

+ 1 - 1
scripts/install

@@ -276,7 +276,7 @@ systemctl reload nginx
 ### `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)
 ynh_print_info "Generate zabbix config files"
 ynh_print_info "Generate zabbix config files"
-confUserPpath=$(find /var/cache/yunohost/ -name "usr_share_zabbix_conf_zabbix.conf.php")
+confServerPath=$(find /var/cache/yunohost/ -name "usr_share_zabbix_conf_zabbix.conf.php")
 cp "$confServerPath" /usr/share/zabbix/conf/zabbix.conf.php
 cp "$confServerPath" /usr/share/zabbix/conf/zabbix.conf.php
 ynh_replace_string --match_string="db_name" --replace_string="$db_name" --target_file=/usr/share/zabbix/conf/zabbix.conf.php
 ynh_replace_string --match_string="db_name" --replace_string="$db_name" --target_file=/usr/share/zabbix/conf/zabbix.conf.php
 ynh_replace_string --match_string="db_user" --replace_string="$db_user" --target_file=/usr/share/zabbix/conf/zabbix.conf.php
 ynh_replace_string --match_string="db_user" --replace_string="$db_user" --target_file=/usr/share/zabbix/conf/zabbix.conf.php