reject all updates if in linux.

This commit is contained in:
kay.one 2013-09-13 23:42:23 -07:00
parent 7d6e14d342
commit d5e5d6de29
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,6 @@ namespace NzbDrone.Core.Update
UpdatePackage AvailableUpdate();
}
public class CheckUpdateService : ICheckUpdateService
{
private readonly IUpdatePackageProvider _updatePackageProvider;
@ -28,6 +27,8 @@ namespace NzbDrone.Core.Update
public UpdatePackage AvailableUpdate()
{
if (OsInfo.IsLinux) return null;
var latestAvailable = _updatePackageProvider.GetLatestUpdate(_configFileProvider.Branch, BuildInfo.Version);
if (latestAvailable == null)