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