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

apt purge zabbix* -y

This commit is contained in:
Mickael-Martin 2019-07-03 12:49:33 +02:00
parent ddf1a3ed88
commit 996bab5ad7

View file

@ -95,8 +95,10 @@ ynh_app_setting_set "$app" language "$language"
### - Remove the section "REMOVE DEPENDENCIES" in the remove script ### - Remove the section "REMOVE DEPENDENCIES" in the remove script
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script ### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
ynh_print_info "Install Zabbix repository" 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" 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 dpkg -i zabbix-release_*.deb
rm zabbix-release_*.deb rm zabbix-release_*.deb