[packages/syslog-ng] - add /etc/syslog-ng.d to config

glen glen at pld-linux.org
Thu Feb 14 11:54:21 CET 2019


On 2/14/19 9:38 AM, arekm wrote:
>   
> +%triggerun -- syslog-ng < 3.19.1
> +grep -q '/etc/syslog-ng.d/'/etc/syslog-ng/syslog-ng.conf || echo '@include "/etc/syslog-ng.d/"' >> /etc/syslog-ng/syslog-ng.conf
> +exit 0
> +


argh, again some project decides to do include dir support, but without 
actual without globing!!!

what's the directory scanning rule?

will it exclude backups from editors and package managers other cruft 
like VCS dirs/files?

ps: you should grep what you append, maybe someone has in comments 
matching "/etc/syslog-ng.d/"


-- 
glen



More information about the pld-devel-en mailing list