Update uci-defaults.patch

This commit is contained in:
kiddin9 2026-04-13 03:33:39 +08:00 committed by GitHub
parent d46ec993e2
commit b2bbe88a56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,19 +71,3 @@ index 00000000..b89d7328
+
rm -f /tmp/luci-indexcache
exit 0
--- a/luci-app-coredns/Makefile
+++ b/luci-app-coredns/Makefile
@@ -22,10 +22,8 @@ endef
define Package/$(PKG_NAME)/postinst
#!/bin/sh
- chmod +x /etc/init.d/coredns
- chmod +x /usr/share/coredns/*.sh
- rm -rf /usr/lib/lua/luci/i18n/coredns.zh-cn.lmo
- cp /usr/share/coredns/coredns.zh-cn.lmo /usr/lib/lua/luci/i18n/
+ chmod +x $${IPKG_INSTROOT}/etc/init.d/coredns
+ chmod +x $${IPKG_INSTROOT}/usr/share/coredns/*.sh
endef
define Package/$(PKG_NAME)/prerm