mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Update _common.sh remove source ynh_add_extra_apt_repos__3
This commit is contained in:
parent
0340a6e66a
commit
3f367e981b
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue