Spaces:
gccnb
/
Running

rclon commited on
Commit
9265bc4
1 Parent(s): d0dccab

Update sync_data.sh

Browse files
Files changed (1) hide show
  1. sync_data.sh +1 -1
sync_data.sh CHANGED
@@ -22,7 +22,7 @@ git -c core.excludesFile=/dev/null -c core.attributesFile=/dev/null clone "$REPO
22
  }
23
 
24
  if [ -f ./github_data/webui.db ]; then
25
- mv ./github_data/webui.db ./data/webui.db
26
  echo "从 GitHub 仓库中拉取成功"
27
  else
28
  echo "GitHub 仓库中未找到 webui.db,将在同步时推送"
 
22
  }
23
 
24
  if [ -f ./github_data/webui.db ]; then
25
+ cp ./github_data/webui.db ./data/webui.db
26
  echo "从 GitHub 仓库中拉取成功"
27
  else
28
  echo "GitHub 仓库中未找到 webui.db,将在同步时推送"