reject all updates if in linux.

pull/2/head
kay.one 11 years ago
parent 7d6e14d342
commit d5e5d6de29

@ -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)

Loading…
Cancel
Save