Skip to content

Commit 4c949e1

Browse files
committed
fixes
1 parent d9e95f2 commit 4c949e1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docker_start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then startes xbvr
55

66
TARGET_DIR="/root/.config/xbvr/xbvr_data/migrations/release"
7-
SOURCE_DIR="/tmp/data"
7+
SOURCE_DIR="/tmp/xbvr_data"
88

99
# Check if target directory exists
1010
if [ ! -d "$TARGET_DIR" ]; then

pkg/migrations/migrations.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,9 @@ func Migrate() {
23672367
if err != nil {
23682368
return err
23692369
}
2370-
2370+
if len(scenes) == 0 {
2371+
return nil
2372+
}
23712373
err = RenameSceneIdsFromFile(tx, 1, "0086-update-vrporn-ids", "0086-update-vrporn-ids.json", scenes, false, customConverter, nil)
23722374
if err != nil {
23732375
return err

0 commit comments

Comments
 (0)