Update install.sh

This commit is contained in:
星光-k
2025-01-14 07:30:06 +08:00
committed by GitHub
parent 69d32309a7
commit c5c7b055e3

View File

@@ -233,7 +233,7 @@ setup_service() {
if [ ! -d "$HOME/2.13-Ink-screen-clock" ]; then
echo "正在克隆仓库"
cd ~
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
if ! git config advice.detachedHead false && git clone -b $VERSION $INK_SCREEN_CLOCK_REPO_URL; then
echo "克隆仓库失败" >&2
exit 1
fi