mirror of
https://github.com/bin456789/reinstall.git
synced 2026-05-21 05:27:41 +08:00
Compare commits
5 Commits
7a02021d5d
...
1a1f8ea124
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a1f8ea124 | |||
| e7deea5b0f | |||
| 7402d204fb | |||
| e2a8be7bb7 | |||
| 6341c21d0b |
4
trans.sh
4
trans.sh
@ -5827,9 +5827,9 @@ get_intel_download_url() {
|
|||||||
local url=https://www.intel.com/content/www/us/en/download/$id.html
|
local url=https://www.intel.com/content/www/us/en/download/$id.html
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 将双引号替换成换行符,使每个链接占一行
|
# 在每个双引号前和后添加换行符,使每个链接占一行
|
||||||
# intel 禁止了 wget 下载网页
|
# intel 禁止了 wget 下载网页
|
||||||
wget -U curl/7.54.1 "$url" -O- | sed 's,",\n,g' |
|
wget -U curl/7.54.1 "$url" -O- | sed 's,",\n"\n,g' |
|
||||||
grep -Eio -m1 "https://.+/$file_regex" | grep .
|
grep -Eio -m1 "https://.+/$file_regex" | grep .
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user