1
0
Fork 0

add autopatch: do not remove logs on app removal

This commit is contained in:
OniriCorpe 2024-06-21 04:02:20 +02:00 committed by OniriCorpe
parent a21f722f7e
commit 839c6b9992
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
sed -E "/(ynh_secure_remove|ynh_safe_rm|rm).*(\/var\/log\/)/d" --i scripts/remove
git add scripts/remove

View file

@ -0,0 +1,3 @@
This is an ***automated*** patch to fix the following:
Do not delete logs on app removal, else they will be erased if the app upgrade fails. This is handled by the core.

View file

@ -0,0 +1 @@
Do not delete logs on app removal