From 03d31de946d8a710c3d2b2d0b0c1230edb312246 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Sun, 24 Apr 2022 12:24:43 -0500 Subject: [PATCH] Fixed: Fpcalc not executable after update fixup 9a5ec50e78078d864fea873ca9fbb2ca4455b20d --- src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs index 3175cb5fb..7b78093c6 100644 --- a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs +++ b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs @@ -125,10 +125,11 @@ namespace NzbDrone.Update.UpdateEngine _logger.Info("Copying new files to target folder"); _diskTransferService.MirrorFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder); - // Set executable flag on Lidarr app + // Set executable flag on Lidarr app and bundled fpcalc if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore)) { _diskProvider.SetFilePermissions(Path.Combine(installationFolder, "Lidarr"), "755", null); + _diskProvider.SetFilePermissions(Path.Combine(installationFolder, "fpcalc"), "755", null); } } catch (Exception e)