diff options
author | doktornotor <notordoktor@gmail.com> | 2015-07-28 21:38:13 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-07-28 21:38:13 +0200 |
commit | b85ea15c38d614686c9b69ccdb3e1c79f4a4c528 (patch) | |
tree | 1839ae0de5379c27ba5c39395a02951d28cbd0e2 /config | |
parent | 592bbef83fd5342a8b2de84dda352b93f4c3bef6 (diff) | |
download | pfsense-packages-b85ea15c38d614686c9b69ccdb3e1c79f4a4c528.tar.gz pfsense-packages-b85ea15c38d614686c9b69ccdb3e1c79f4a4c528.tar.bz2 pfsense-packages-b85ea15c38d614686c9b69ccdb3e1c79f4a4c528.zip |
Remove logrotate.conf on package deinstall
Do not leave stale files behind on package removal.
Diffstat (limited to 'config')
-rw-r--r-- | config/syslog-ng/syslog-ng.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |