1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00

[autopatch] Do not delete logs on app removal

This commit is contained in:
Yunohost-Bot 2024-06-23 22:32:33 +02:00 committed by OniriCorpe
parent 2714ce1423
commit 9309f0c2d2

View file

@ -59,7 +59,6 @@ ynh_package_autopurge monitorix
ynh_secure_remove --file="$install_dir" ynh_secure_remove --file="$install_dir"
if [ "$YNH_APP_PURGE" -eq 1 ]; then if [ "$YNH_APP_PURGE" -eq 1 ]; then
ynh_secure_remove --file=/var/log/"$app"
fi fi
ynh_script_progression --message="Removal of $app completed" --last ynh_script_progression --message="Removal of $app completed" --last