Explorar o código

Update _common.sh remove source ynh_add_extra_apt_repos__3

Mickael-Martin %!s(int64=5) %!d(string=hai) anos
pai
achega
3f367e981b
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      scripts/_common.sh

+ 0 - 4
scripts/_common.sh

@@ -169,14 +169,10 @@ 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.4/debian $(lsb_release -sc) main" --key=https://repo.zabbix.com/zabbix-official-repo.key  --priority=999  --name=zabbix
 }
 
 remove_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_remove_extra_repo --name=zabbix
 }