From 2484a67096e95d589efb7a6b37cb746d81a6841d Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 25 Mar 2026 14:10:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=8B=E9=9A=86=E9=85=8D=E7=BD=AE=E5=89=8D?= =?UTF-8?q?=E5=85=88=E6=B8=85=E9=99=A4=E6=97=A7=E7=9B=AE=E5=BD=95=EF=BC=8C?= =?UTF-8?q?=E7=A1=AE=E4=BF=9D=E7=8A=B6=E6=80=81=E5=B9=B2=E5=87=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 011c0a4..6b74586 100755 --- a/install.sh +++ b/install.sh @@ -22,11 +22,8 @@ echo "==> 安装 dcli..." yay -S --needed --noconfirm dcli-arch-git echo "==> 克隆配置仓库..." -if [ -d "$CONFIG_DIR" ]; then - echo "配置目录已存在,跳过克隆" -else - git clone "$REPO_URL" "$CONFIG_DIR" -fi +rm -rf "$CONFIG_DIR" +git clone "$REPO_URL" "$CONFIG_DIR" echo "" echo "✓ 安装完成!"