If syslog-ng.conf has been customised by the user, do not remove it

during pkg_deinstall.
This commit is contained in:
Cy Schubert 2010-12-15 20:18:11 +00:00
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

View file

@ -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

View file

@ -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