packages/minidlna: fix config file installation
packages/minidlna: fix config file installation

Reported-by: Gabor Varga <vargagab@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31487 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/multimedia/minidlna/Makefile
+++ b/multimedia/minidlna/Makefile
@@ -80,7 +80,11 @@
 	$(INSTALL_DIR) $(1)/etc/init.d
 	$(INSTALL_BIN) ./files/minidlna.init $(1)/etc/init.d/minidlna
 	$(INSTALL_DIR) $(1)/etc/config
-	$(INSTALL_BIN) ./files/minidlna.config $(1)/etc/config/minidlna
+	$(INSTALL_CONF) ./files/minidlna.config $(1)/etc/config/minidlna
+endef
+
+define Package/minidlna/conffiles
+/etc/config/minidlna
 endef
 
 $(eval $(call BuildPackage,minidlna))

comments