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

move rm -fr to ynh_secure_remove

This commit is contained in:
Mickael-Martin 2020-11-26 13:24:28 +01:00
parent 971399eafd
commit e26378e8f9

View file

@ -97,7 +97,7 @@ 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
rm -fr /var/cache/apt/archives/zabbix-server-mysql*
ynh_secure_remove /var/cache/apt/archives/zabbix-server-mysql*
ynh_script_progression --message="Install Zabbix repository" -w 3
install_zabbix_repo