Update master.sh

This commit is contained in:
有種 2023-10-22 14:41:38 +08:00 committed by GitHub
parent 14cac04d73
commit 79c20f0f6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,5 +73,6 @@ sed -i 's/\(+luci-compat\)/\1 +luci-theme-argone/' luci-app-argone-config/Makefi
#sed -i '65,73d' adguardhome/Makefile
rm -rf ./*/.git ./*/.gitattributes ./*/.svn ./*/.github ./*/.gitignore create_acl_for_luci.err create_acl_for_luci.ok create_acl_for_luci.warn
#rm -rf adguardhome/patches
sed -i '59s/.*/local port=luci.sys.exec("awk \x27\/^dns:\/ {found_dns=1} found_dns \x26\x26 \/\^ port:\/ {print $2; exit}\x27 "..configpath.." 2>nul")/' luci-app-adguardhome/luasrc/model/cbi/AdGuardHome/base.lua
exit 0