This commit is contained in:
Dict Xiong 2022-07-30 13:09:08 +08:00
parent 2fb1cd6599
commit d96ee6b057
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.zwc *.zwc
update.sh

View File

@ -2,7 +2,7 @@
export DOTFILES=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd ) export DOTFILES=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )
# get the specified commit id # 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 if [[ ${#dfs_commit} != 40 ]]; then
echo "Error: invalid commit id." echo "Error: invalid commit id."
exit exit