[更新] 更新镜像源

This commit is contained in:
寻觅 2025-03-11 15:22:04 +08:00
parent 6f294c246b
commit eea6cc9dce
3 changed files with 9 additions and 3 deletions

View File

@ -97,4 +97,10 @@ Install_PKG
Download_X
sudo chown -R $USER:$USER $ROOT_INSTALL
[ -f "安装.zsh" ] && zsh 安装.zsh -Y -J || zsh $x_dir/安装.zsh -Y -J
# 删除自己
rm LK_bash_start.sh
exec zsh

View File

@ -5,7 +5,7 @@
```bash
# 言灵安装命令, 请在命令行中执行如下命令
wget -q --show-progress http://yum.gdie.top:50200/LK/x/raw/start.sh && bash start.sh
wget -q --show-progress https://gitea.whlug.cn/LK/x/raw/start.sh && bash start.sh
```
## 功能实现

View File

@ -36,7 +36,7 @@ else
fi
typeset -a 预设一默认=("vim" "zsh")
readonly 言灵一镜像站="http://yum.gdie.top:50200/ylib/"
readonly 言灵一镜像站="https://gitcode.com/"
配置一预设=false
配置一镜像=false
# 帮助信息
@ -84,7 +84,7 @@ EOF
fi
if [ -z "${配置一镜像}" ]; then
git clone --depth 1 -q ${言灵一镜像站}/${1#*/}.git $2
git clone --depth 1 -q ${言灵一镜像站}/$1.git $2
else
git clone --depth 1 -q "https://github.com/$1.git" $2
fi