syslog-ng: Add /etc/syslog-ng.d/.keep
authorKarel Kočí <karel.koci@nic.cz>
Thu, 15 Dec 2016 10:12:45 +0000 (11:12 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 17 Jan 2019 23:18:21 +0000 (00:18 +0100)
This should ensure that updater/opkg won't remove /etc/syslog-ng.d
directory, which would cause syslog-ng to fail to start.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
admin/syslog-ng/Makefile

index c1990ba3ac09c671fbced929dacbe0cdb4f0df00..c78b1ba1ede21dc539a8684b49db96290a9d28ad 100644 (file)
@@ -72,6 +72,7 @@ define Package/syslog-ng/install
        $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc
        $(INSTALL_DIR) $(1)/etc/syslog-ng.d/
        $(call libtool_remove_files,$(1))
+       touch $(1)/etc/syslog-ng.d/.keep
 endef
 
 define Package/syslog-ng/prerm