If syslog-ng.conf has been customised by the user, do not remove it
during pkg_deinstall.
This commit is contained in:
parent
9fe4cba96d
commit
8e51a0d5e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266368
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= syslog-ng
|
||||
PORTVERSION= 3.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/$(PORTVERSION)/source/
|
||||
PKGNAMESUFFIX= 3
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@unexec %D/etc/rc.d/syslog-ng.sh stop > /dev/null 2>&1 || true
|
||||
etc/modules.conf
|
||||
etc/scl.conf
|
||||
etc/syslog-ng.conf
|
||||
@unexec if cmp -s %D/etc/syslog-ng.conf %D/etc/syslog-ng.conf.sample; then rm -f %D/etc/syslog-ng.conf; fi
|
||||
etc/syslog-ng.conf.sample
|
||||
bin/update-patterndb
|
||||
bin/loggen
|
||||
|
|
Loading…
Reference in a new issue