mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Update path for old datadir
This commit is contained in:
parent
1217ee3e54
commit
37ed58b201
@ -114,11 +114,11 @@ static void MoveAll(DirectoryInfo source, DirectoryInfo target)
|
||||
|
||||
try
|
||||
{
|
||||
string oldDir = "/kyoo/metadata";
|
||||
string oldDir = "/kyoo/kyoo_datadir/metadata";
|
||||
if (Path.Exists(oldDir))
|
||||
{
|
||||
MoveAll(new DirectoryInfo(oldDir), new DirectoryInfo("/metadata"));
|
||||
Log.Information("Old metadata directory migrated.");
|
||||
Log.Warning("Old metadata directory migrated.");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Loading…
x
Reference in New Issue
Block a user