[autopatch] Do not delete logs on app removal

This commit is contained in:
Yunohost-Bot 2024-06-23 23:12:38 +02:00 committed by OniriCorpe
parent 9fe2002cdf
commit 656198ef49

View file

@ -32,7 +32,6 @@ pkill -f seahub || true
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/"$app"
fi fi
ynh_script_progression --message="Removing code..." ynh_script_progression --message="Removing code..."
ynh_secure_remove --file=/var/www/"$app" ynh_secure_remove --file=/var/www/"$app"