mirror of https://github.com/Jackett/Jackett
parent
63474d42bb
commit
125db8090c
|
@ -91,7 +91,7 @@ namespace Jackett.Common.Services
|
||||||
{
|
{
|
||||||
// In cases where the app data folder is the same as "$(cwd)/Jackett" we don't need to perform a migration
|
// In cases where the app data folder is the same as "$(cwd)/Jackett" we don't need to perform a migration
|
||||||
var fullConfigPath = Path.GetFullPath("Jackett");
|
var fullConfigPath = Path.GetFullPath("Jackett");
|
||||||
if (GetAppDataFolder() != fullConfigPath)
|
if (GetAppDataFolder() != fullConfigPath && ! File.Exists(Path.Combine(fullConfigPath, "jackett")))
|
||||||
{
|
{
|
||||||
PerformMigration(fullConfigPath);
|
PerformMigration(fullConfigPath);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue