mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
test if /var/cache/apt/archives/zabbix-server-mysql* exists
This commit is contained in:
parent
f179293442
commit
1191b4041f
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@ ynh_app_setting_set "$app" language "$language"
|
|||
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
||||
ynh_script_progression --message="Remove Zabbix if already installed" -w 1
|
||||
apt-get purge zabbix* -y
|
||||
ynh_secure_remove /var/cache/apt/archives/zabbix-server-mysql*
|
||||
if compgen -G "/var/cache/apt/archives/zabbix-server-mysql*" > /dev/null; then
|
||||
ynh_secure_remove /var/cache/apt/archives/zabbix-server-mysql*
|
||||
fi
|
||||
|
||||
ynh_script_progression --message="Install Zabbix repository" -w 3
|
||||
install_zabbix_repo
|
||||
|
|
Loading…
Add table
Reference in a new issue