From d96ee6b057ce11e4f56968c16043f74fe06d9b63 Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Sat, 30 Jul 2022 13:09:08 +0800 Subject: [PATCH] bug fix --- .gitignore | 1 + .update.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 416cfaa..2fb45f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.zwc +update.sh diff --git a/.update.sh b/.update.sh index 3439a8c..52ecb89 100644 --- a/.update.sh +++ b/.update.sh @@ -2,7 +2,7 @@ export DOTFILES=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd ) # get the specified commit id -dfs_commit=$(curl -fsSL https://api.beardic.cn/get-dfs-commit) +dfs_commit=$(curl -fsSL https://api.beardic.cn/get-var/dfs-commit-id) if [[ ${#dfs_commit} != 40 ]]; then echo "Error: invalid commit id." exit