Mickael-Martin 6 лет назад
Родитель
Сommit
75a87e8b02
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      scripts/_common.sh

+ 2 - 1
scripts/_common.sh

@@ -171,5 +171,6 @@ check_proc_zabbixagent(){
 install_zabbix_repo(){
     ynh_add_extra_apt_repos__3_path=$(find /var/cache/yunohost/ /etc/yunohost/apps/zabbix/ -name "ynh_add_extra_apt_repos__3" | tail -n 1)
     source "$ynh_add_extra_apt_repos__3_path"
-    ynh_install_extra_repo --repo="http://repo.zabbix.com/zabbix/4.2/debian $(lsb_release -sc) main" --key=https://repo.zabbix.com/zabbix-official-repo.key  --priority=999  --name=zabbix 
+    ynh_install_extra_repo --repo="http://repo.zabbix.com/zabbix/4.2/debian $(lsb_release -sc) main" --key=https://repo.zabbix.com/zabbix-official-repo.key  --priority=999  --name=zabbix
+    ynh_package_install zabbix-release
 }