Fixed: Fpcalc not executable after update

fixup 9a5ec50e78
pull/2812/head
bakerboy448 2 years ago committed by Qstick
parent a40f537004
commit 03d31de946

@ -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)

Loading…
Cancel
Save