Merge pull request #124 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:34:22 +02:00 committed by GitHub
commit cb51460014
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,10 +30,6 @@ pkill -f seaf-server || true
pkill -f ccnet-server || true
pkill -f seahub || true
if [ "$YNH_APP_PURGE" -eq 1 ]; then
ynh_script_progression --message="Removing logs..."
ynh_secure_remove --file=/var/log/"$app"
fi
ynh_script_progression --message="Removing code..."
ynh_secure_remove --file=/var/www/"$app"
ynh_secure_remove --file=/opt/yunohost/"$app"