mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
parent
a40f537004
commit
03d31de946
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue