mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 04:43:56 +08:00
Update Makefile
This commit is contained in:
1 parent
3768794645
commit
9172e61004
1 file changed
+3
-5
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-coredns
|
PKG_NAME:=luci-app-coredns
|
||||||
PKG_VERSION:=1.1.0
|
PKG_VERSION:=1.1.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
LUCI_TITLE:=LuCI Support for coredns
|
LUCI_TITLE:=LuCI Support for coredns
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
@@ -22,10 +22,8 @@ endef
|
|||||||
|
|
||||||
define Package/$(PKG_NAME)/postinst
|
define Package/$(PKG_NAME)/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
chmod +x /etc/init.d/coredns
|
chmod +x $${IPKG_INSTROOT}/etc/init.d/coredns
|
||||||
chmod +x /usr/share/coredns/*.sh
|
chmod +x $${IPKG_INSTROOT}/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/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/prerm
|
define Package/$(PKG_NAME)/prerm
|
||||||
|
|||||||
Reference in new issue
Block a user