1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-19 23:28:39 +02:00

syslog-ng: Add /etc/syslog-ng.d/.keep

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>
This commit is contained in:
Karel Kočí 2016-12-15 11:12:45 +01:00 committed by Josef Schlehofer
parent 41f3511093
commit 2740cb8f57
No known key found for this signature in database
GPG Key ID: B950216FE4329F4C

View File

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