Spaces:
Paused
Paused
Update sync_data.sh
Browse files- 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 |
-
|
| 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,将在同步时推送"
|