Fix osx updater failing.

This commit is contained in:
Leonardo Galli 2017-05-14 11:03:20 +02:00
commit 6e31f7220c

View file

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