1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Merge pull request #42 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:33:14 +02:00 committed by GitHub
commit 10700c7609
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,18 +26,6 @@ ynh_remove_logrotate
# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================
# SPECIFIC REMOVE
#=================================================
# REMOVE VARIOUS FILES
#=================================================
ynh_script_progression --message="Removing various files..." --weight=1
if [ "$YNH_APP_PURGE" -eq 1 ]; then
ynh_script_progression --message="Removing logs..."
ynh_secure_remove --file=/var/log/"$app"
fi
#=================================================
# END OF SCRIPT
#=================================================