From d5e5d6de29ca0a4913d446277cddda89cf8c13e6 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Fri, 13 Sep 2013 23:42:23 -0700 Subject: [PATCH] reject all updates if in linux. --- NzbDrone.Core/Update/UpdateCheckService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NzbDrone.Core/Update/UpdateCheckService.cs b/NzbDrone.Core/Update/UpdateCheckService.cs index 402ba850c..a357fde2f 100644 --- a/NzbDrone.Core/Update/UpdateCheckService.cs +++ b/NzbDrone.Core/Update/UpdateCheckService.cs @@ -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)