mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -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");
|
_logger.Info("Copying new files to target folder");
|
||||||
_diskTransferService.MirrorFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
|
_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))
|
if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore))
|
||||||
{
|
{
|
||||||
_diskProvider.SetFilePermissions(Path.Combine(installationFolder, "Lidarr"), "755", null);
|
_diskProvider.SetFilePermissions(Path.Combine(installationFolder, "Lidarr"), "755", null);
|
||||||
|
_diskProvider.SetFilePermissions(Path.Combine(installationFolder, "fpcalc"), "755", null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue