1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

Update restore with install_zabbix_repo function

This commit is contained in:
Mickael-Martin 2019-07-05 13:31:47 +02:00
parent 59c60fff9d
commit b75f12a707

View file

@ -52,10 +52,7 @@ nonfree=$(ynh_app_setting_get $app nonfree)
#================================================= #=================================================
ynh_print_info "Install Zabbix repository" ynh_print_info "Install Zabbix repository"
install_zabbix_repo
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_print_info "Update and install dependencies"
ynh_package_update ynh_package_update