From 69d32309a788cfe33eedc5b6253f43a52ad33232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=85=89-k?= <36470587+kxgx@users.noreply.github.com> Date: Tue, 14 Jan 2025 07:28:03 +0800 Subject: [PATCH] Update install.sh --- bin/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install.sh b/bin/install.sh index 02af56f..06361e9 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -233,7 +233,7 @@ setup_service() { if [ ! -d "$HOME/2.13-Ink-screen-clock" ]; then echo "正在克隆仓库" cd ~ - if ! git config --local advice.detachedHead false && git config --local advice.statusHints false && git config --local advice.pushNonFastforward false && git clone -b $VERSION $INK_SCREEN_CLOCK_REPO_URL; then + if ! git config advice.detachedHead false && git config advice.statusHints false && git config advice.pushNonFastforward false && git clone -b $VERSION $INK_SCREEN_CLOCK_REPO_URL; then echo "克隆仓库失败" >&2 exit 1 fi