mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
nextdns: mark /etc/config/nextdns as configuration file
Conffile was set for OpenWrt master, but it is not present in OpenWrt 19.07. When /etc/config/nextdns is not set as conffile, it gets overwritten by each update of nextdns and the user needs to set up it again. This can be simply reproduced by these steps: opkg update opkg install nextdns edit or add smth to /etc/config/nextdns, save it then do: opkg install nextdns --force-reinstall And /etc/config/nextdns gets overwritten by default values Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nextdns
|
||||
PKG_VERSION:=1.8.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
|
||||
@@ -39,6 +39,10 @@ define Package/nextdns
|
||||
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
|
||||
endef
|
||||
|
||||
define Package/nextdns/conffiles
|
||||
/etc/config/nextdns
|
||||
endef
|
||||
|
||||
define Package/nextdns/install
|
||||
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user