OS X and linux can be treated separately

This commit is contained in:
Mark McDowall
2014-03-08 21:28:40 -08:00
parent 9d74693bb7
commit 8885bbb60f
22 changed files with 101 additions and 50 deletions
@@ -36,7 +36,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications
{
if (Directory.GetParent(localEpisode.Path).Name.StartsWith(workingFolder))
{
if (OsInfo.IsLinux)
if (OsInfo.IsMono)
{
_logger.Trace("{0} is still being unpacked", localEpisode.Path);
return false;
@@ -73,7 +73,7 @@ namespace NzbDrone.Core.MediaFiles
{
logger.Info("Recycling Bin has not been configured, deleting permanently.");
if (!OsInfo.IsLinux)
if (!OsInfo.IsMono)
{
logger.Trace(_diskProvider.GetFileAttributes(path));
}