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

_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to