更新 Mediatek.sh
Signed-off-by: zhao <zj18139624826@gmail.com>
This commit is contained in:
parent
87d0f387cc
commit
2ed4b6867c
@ -12,9 +12,6 @@ export RES='\e[0m'
|
|||||||
# GitHub 变量
|
# GitHub 变量
|
||||||
export github="github.com"
|
export github="github.com"
|
||||||
|
|
||||||
# Gitea 变量
|
|
||||||
export gitea=https://git.kejizero.online/zhao
|
|
||||||
|
|
||||||
# 分组函数(GitHub Actions 支持)
|
# 分组函数(GitHub Actions 支持)
|
||||||
GROUP=
|
GROUP=
|
||||||
group() {
|
group() {
|
||||||
@ -64,9 +61,9 @@ endgroup
|
|||||||
# 加载 .config 配置文件
|
# 加载 .config 配置文件
|
||||||
group "加载对应配置文件"
|
group "加载对应配置文件"
|
||||||
if [ "$platform" = "Mediatek_mt7981" ]; then
|
if [ "$platform" = "Mediatek_mt7981" ]; then
|
||||||
curl -s $gitea/scripts/src/branch/main/Mediatek/21-config-mediatek_mt7981 > .config
|
curl -s https://git.kejizero.online/zhao/scripts/raw/branch/main/Mediatek/21-config-mediatek_mt7981 > .config
|
||||||
elif [ "$platform" = "Mediatek_mt7986" ]; then
|
elif [ "$platform" = "Mediatek_mt7986" ]; then
|
||||||
curl -s $gitea/scripts/src/branch/main/Mediatek/21-config-mediatek_mt7981 > .config
|
curl -s https://git.kejizero.online/zhao/scripts/raw/branch/main/Mediatek/21-config-mediatek_mt7986 > .config
|
||||||
fi
|
fi
|
||||||
endgroup
|
endgroup
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user