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

Merge pull request #61 from yunohost-bot/delete-log-removal

[autopatch] Do not delete logs on app removal
This commit is contained in:
Josue-T 2024-06-25 07:35:46 +02:00 committed by GitHub
commit b82e34b12e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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