mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
add ynh_install_extra_repo
This commit is contained in:
parent
5e09b033b1
commit
fe85a9375b
1 changed files with 3 additions and 3 deletions
|
@ -99,9 +99,9 @@ ynh_print_info "Remove Zabbix if already installed"
|
|||
apt purge zabbix* -y
|
||||
|
||||
ynh_print_info "Install Zabbix repository"
|
||||
wget -q "https://repo.zabbix.com/zabbix/4.2/debian/pool/main/z/zabbix-release/zabbix-release_4.2-1%2Bstretch_all.deb"
|
||||
dpkg -i zabbix-release_*.deb
|
||||
rm zabbix-release_*.deb
|
||||
ynh_add_extra_apt_repos__3_path=$(find /var/cache/yunohost/ -name "ynh_add_extra_apt_repos__3")
|
||||
source "$ynh_add_extra_apt_repos__3_path"
|
||||
ynh_install_extra_repo --repo=http://repo.zabbix.com/zabbix/4.2/debian --key=https://repo.zabbix.com/zabbix-official-repo.key --priority=999
|
||||
|
||||
ynh_print_info "Update and install dependencies"
|
||||
#ynh_package_update no need cause ynh_install_app_dependencies after
|
||||
|
|
Loading…
Add table
Reference in a new issue