Fix osx updater failing.

This commit is contained in:
Leonardo Galli 2017-05-14 11:03:20 +02:00
parent 3c8162f1d6
commit 6e31f7220c
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using NLog;
using NzbDrone.Common.Disk;
@ -119,7 +119,7 @@ namespace NzbDrone.Update.UpdateEngine
// Set executable flag on Sonarr app
if (OsInfo.IsOsx)
{
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Sonarr"), "0755", null, null);
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Radarr"), "0755", null, null);
}
}
catch (Exception e)