diff options
| author | crobibero <cody@robibe.ro> | 2020-07-20 07:45:24 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-07-20 07:45:24 -0600 |
| commit | 9343e73b26d51ecbf65f809607ef49b1cdb646da (patch) | |
| tree | 79360f2f613233adfc3c2090337753e5d77750c7 /Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs | |
| parent | 41c4cfe0afba827ea35f0da0147863d1bb78a3d8 (diff) | |
Allow migration to optionally run on fresh install
Diffstat (limited to 'Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs b/Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs index a9d5ad16a..f6d8c9cc0 100644 --- a/Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs +++ b/Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs @@ -33,6 +33,9 @@ namespace Jellyfin.Server.Migrations.Routines public string Name => "AddDefaultPluginRepository"; /// <inheritdoc/> + public bool PerformOnNewInstall => true; + + /// <inheritdoc/> public void Perform() { _serverConfigurationManager.Configuration.PluginRepositories.Add(_defaultRepositoryInfo); |
