diff --git a/src/NzbDrone.Core/Update/InstallUpdateService.cs b/src/NzbDrone.Core/Update/InstallUpdateService.cs index acc3728d0..d46a9992f 100644 --- a/src/NzbDrone.Core/Update/InstallUpdateService.cs +++ b/src/NzbDrone.Core/Update/InstallUpdateService.cs @@ -299,14 +299,6 @@ namespace NzbDrone.Core.Update // Check if we have to do an application update on startup try { - // Don't do a prestartup update check unless BuiltIn update is enabled - if (_configFileProvider.UpdateAutomatically || - _configFileProvider.UpdateMechanism != UpdateMechanism.BuiltIn || - _deploymentInfoProvider.IsExternalUpdateMechanism) - { - return; - } - var updateMarker = Path.Combine(_appFolderInfo.AppDataFolder, "update_required"); if (!_diskProvider.FileExists(updateMarker)) { @@ -315,6 +307,15 @@ namespace NzbDrone.Core.Update _logger.Debug("Post-install update check requested"); + // Don't do a prestartup update check unless BuiltIn update is enabled + if (!_configFileProvider.UpdateAutomatically || + _configFileProvider.UpdateMechanism != UpdateMechanism.BuiltIn || + _deploymentInfoProvider.IsExternalUpdateMechanism) + { + _logger.Debug("Built-in updater disabled, skipping post-install update check"); + return; + } + var latestAvailable = _checkUpdateService.AvailableUpdate(); if (latestAvailable == null) {