From b85ea15c38d614686c9b69ccdb3e1c79f4a4c528 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 28 Jul 2015 21:38:13 +0200 Subject: Remove logrotate.conf on package deinstall Do not leave stale files behind on package removal. --- config/syslog-ng/syslog-ng.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/config/syslog-ng/syslog-ng.inc b/config/syslog-ng/syslog-ng.inc index 1643c03f..cb0aafb3 100644 --- a/config/syslog-ng/syslog-ng.inc +++ b/config/syslog-ng/syslog-ng.inc @@ -69,6 +69,7 @@ function syslogng_deinstall_command() { if (is_link("/usr/local/lib/syslog-ng")) unlink_if_exists("/usr/local/lib/syslog-ng"); syslogng_install_cron(false); + unlink_if_exists("/usr/local/etc/logrotate.conf"); conf_mount_ro(); filter_configure(); } -- cgit v1.2.3