mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-24 21:46:52 +08:00
bug fix
This commit is contained in:
parent
2fb1cd6599
commit
d96ee6b057
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
*.zwc
|
*.zwc
|
||||||
|
update.sh
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user