Update main.sh

This commit is contained in:
有種 2024-03-17 19:15:28 +08:00 committed by GitHub
parent d5c88f25ae
commit b87bb99c95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

1
.github/diy/main.sh vendored
View File

@ -213,6 +213,7 @@ sed -i 's/ ip.neighbors/ luci.ip.neighbors/' luci-app-wifidog/luasrc/model/cbi/w
#sed -i -e 's/nas/services/g' -e 's/NAS/Services/g' $(grep -rl 'nas\|NAS' luci-app-fileassistant)
#sed -i -e 's/nas/services/g' -e 's/NAS/Services/g' $(grep -rl 'nas\|NAS' luci-app-alist)
#find . -type f -name Makefile -exec sed -i 's/PKG_BUILD_FLAGS:=no-mips16/PKG_USE_MIPS16:=0/g' {} +
sed -i '/entry({"admin", "nas"}, firstchild(), "NAS", 45).dependent = false/d; s/entry({"admin", "network", "eqos"}, cbi("eqos"), _("EQoS"))/entry({"admin", "network", "eqos"}, cbi("eqos"), _("EQoS"), 121).dependent = true/' luci-app-eqos/luasrc/controller/eqos.lua
#sed -i '65,73d' adguardhome/Makefile
sed -i 's/PKG_SOURCE_DATE:=2/PKG_SOURCE_DATE:=3/' transmission-web-control/Makefile
rm -rf adguardhome/patches