Update main.sh

This commit is contained in:
有種 2023-02-05 21:56:57 +08:00 committed by GitHub
parent d54641670b
commit 9830068e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -156,9 +156,6 @@ git_sparse_clone openwrt-22.03 "https://github.com/openwrt/luci" "opluci" applic
mv -n openwrt-passwall/* ./ ; rm -Rf openwrt-passwall
mv -n openwrt-package/* ./ ; rm -Rf openwrt-package
rm -rf ./*/.git & rm -f ./*/.gitattributes
rm -rf ./*/.svn & rm -rf ./*/.github & rm -rf ./*/.gitignore
sed -i \
-e 's?include \.\./\.\./\(lang\|devel\)?include $(TOPDIR)/feeds/packages/\1?' \
-e 's?2. Clash For OpenWRT?3. Applications?' \
@ -183,11 +180,6 @@ sed -i 's/luciversion = "$(date +%b)"/luciversion = "Feb"/g' diy/default-setting
find -type f -name Makefile -exec sed -ri 's#mosdns[-_]neo#mosdns#g' {} \;
bash diy/create_acl_for_luci.sh -a >/dev/null 2>&1
bash diy/convert_translation.sh -a >/dev/null 2>&1
rm -rf create_acl_for_luci.err & rm -rf create_acl_for_luci.ok
rm -rf create_acl_for_luci.warn
exit 0