💐 Sync 2022-03-25 09:44

This commit is contained in:
github-actions[bot] 2022-03-25 09:44:09 +08:00
parent a826830a76
commit 16686a6149
2 changed files with 6 additions and 2 deletions

View File

@ -18,8 +18,10 @@ run_autoupdate()
sed -i '/AutoUpdate/d' /etc/crontabs/root >/dev/null 2>&1
fi
if [ -f /bin/AutoUpdate.sh ] && [ -f /bin/openwrt_info ];then
custom_github_url="$(uci get autoupdate.@login[0].github)"
current_github_url="$(grep Github= /bin/openwrt_info | cut -c8-100)"
cus_url="$(uci get autoupdate.@login[0].github)"
ApAuthor="${cus_url%.git}"
custom_github_url="${ApAuthor##*com/}"
current_github_url="$(grep Warehouse= /bin/openwrt_info | cut -d "=" -f2)"
[[ -n "${custom_github_url}" ]] && {
[[ "${custom_github_url}" != "${current_github_url}" ]] && {
sed -i "s?${current_github_url}?${custom_github_url}?g" /bin/openwrt_info

View File

@ -123,3 +123,5 @@ ff.dorado.sdo.com
*.mcdn.bilivideo.cn
#Disney Plus
+.media.dssott.com
#shark007 Codecs
shark007.net