reject all updates if in linux.
This commit is contained in:
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…
Reference in New Issue