1
0
Fork 0
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:
Mickael-Martin 2019-07-04 13:55:29 +02:00
parent 7970acccbb
commit 92d9310593

View file

@ -53,9 +53,9 @@ nonfree=$(ynh_app_setting_get $app nonfree)
ynh_print_info "Install Zabbix repository" ynh_print_info "Install Zabbix repository"
wget -q "https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-2+stretch_all.deb" ynh_add_extra_apt_repos__3_path=$(find /var/cache/yunohost/ -name "ynh_add_extra_apt_repos__3")
dpkg -i zabbix-release_*.deb source "$ynh_add_extra_apt_repos__3_path"
rm zabbix-release_*.deb 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_print_info "Update and install dependencies"
ynh_package_update ynh_package_update