diff --git a/Scalar.Common/Platforms/POSIX/POSIXPlatform.cs b/Scalar.Common/Platforms/POSIX/POSIXPlatform.cs index f87a91cd68..606b4e6728 100644 --- a/Scalar.Common/Platforms/POSIX/POSIXPlatform.cs +++ b/Scalar.Common/Platforms/POSIX/POSIXPlatform.cs @@ -189,12 +189,12 @@ public override string GetUpgradeProtectedDataDirectory() public override string GetUpgradeLogDirectoryParentDirectory() { - return this.GetUpgradeNonProtectedDirectory(); + return Path.Combine(this.GetCommonAppDataRootForScalar(), ProductUpgraderInfo.UpgradeDirectoryName); } public override string GetUpgradeHighestAvailableVersionDirectory() { - return this.GetUpgradeNonProtectedDirectory(); + throw new NotImplementedException(); } public override Dictionary GetPhysicalDiskInfo(string path, bool sizeStatsOnly) @@ -392,11 +392,6 @@ private static bool TryGetEnvironmentVariable(string name, out string val, out s return true; } - private string GetUpgradeNonProtectedDirectory() - { - return Path.Combine(this.GetCommonAppDataRootForScalar(), ProductUpgraderInfo.UpgradeDirectoryName); - } - private static class NativeMethods { public static string ResolveSymlink(string path, int maxPathLength)