Explorar el Código

Update _common.sh

Mickael-Martin hace 6 años
padre
commit
75a87e8b02
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      scripts/_common.sh

+ 2 - 1
scripts/_common.sh

@@ -171,5 +171,6 @@ check_proc_zabbixagent(){
 install_zabbix_repo(){
 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)
     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"
     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
 }
 }