1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

[autopatch] Do not delete logs on app removal

This commit is contained in:
Yunohost-Bot 2024-06-23 23:21:55 +02:00 committed by OniriCorpe
parent 5f9158c702
commit 78ba09b0ec

View file

@ -39,7 +39,6 @@ ynh_secure_remove --file=/etc/nginx/conf.d/${server_name}.d/${app}_server_name.c
if [ "$YNH_APP_PURGE" -eq 1 ]; then if [ "$YNH_APP_PURGE" -eq 1 ]; then
ynh_script_progression --message="Removing logs..." ynh_script_progression --message="Removing logs..."
ynh_secure_remove --file=/var/log/matrix-"$app"
fi fi
#================================================= #=================================================