mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Don't use Path.Combine for Linux paths
This commit is contained in:
@@ -297,7 +297,7 @@ namespace Jackett.Common.Services
|
|||||||
// When the files get extracted, the execute permission for jackett and JackettUpdater don't get carried across
|
// When the files get extracted, the execute permission for jackett and JackettUpdater don't get carried across
|
||||||
|
|
||||||
//jackett executable
|
//jackett executable
|
||||||
string jackettPath = Path.Combine(tempDir, "/Jackett/jackett");
|
string jackettPath = tempDir + "/Jackett/jackett";
|
||||||
logger.Debug($"Giving execute permission to jackett from: {jackettPath}");
|
logger.Debug($"Giving execute permission to jackett from: {jackettPath}");
|
||||||
|
|
||||||
UnixFileInfo jackettFI = new UnixFileInfo(jackettPath)
|
UnixFileInfo jackettFI = new UnixFileInfo(jackettPath)
|
||||||
@@ -306,7 +306,7 @@ namespace Jackett.Common.Services
|
|||||||
};
|
};
|
||||||
|
|
||||||
//JackettUpdater executable
|
//JackettUpdater executable
|
||||||
string jackettUpdaterPath = Path.Combine(tempDir + "/Jackett/JackettUpdater");
|
string jackettUpdaterPath = tempDir + "/Jackett/JackettUpdater";
|
||||||
logger.Debug($"Giving execute permission to JackettUpdater from: {jackettUpdaterPath}");
|
logger.Debug($"Giving execute permission to JackettUpdater from: {jackettUpdaterPath}");
|
||||||
|
|
||||||
UnixFileInfo jackettUpdaterFI = new UnixFileInfo(jackettUpdaterPath)
|
UnixFileInfo jackettUpdaterFI = new UnixFileInfo(jackettUpdaterPath)
|
||||||
|
Reference in New Issue
Block a user