aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Updates
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-05-14 15:31:23 -0400
committerGitHub <noreply@github.com>2017-05-14 15:31:23 -0400
commitfcf588ac14333442e601559eed0d0991202611a4 (patch)
tree66029d07b31d7a418ed0a85f9177457b89bcb7ca /Emby.Server.Implementations/Updates
parent43d91a392fa2a4b5e41c240f2b6fc4082f6a73f9 (diff)
parentbdc546ed85dfb8389184234ac74c6cc7b4046515 (diff)
Merge pull request #2636 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Updates')
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index e7aa402f25..eed17fb66d 100644
--- a/Emby.Server.Implementations/Updates/InstallationManager.cs
+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs
@@ -668,7 +668,7 @@ namespace Emby.Server.Implementations.Updates
_logger.Info("Deleting plugin file {0}", path);
// Make this case-insensitive to account for possible incorrect assembly naming
- var file = _fileSystem.GetFilePaths(path)
+ var file = _fileSystem.GetFilePaths(_fileSystem.GetDirectoryName(path))
.FirstOrDefault(i => string.Equals(i, path, StringComparison.OrdinalIgnoreCase));
if (!string.IsNullOrWhiteSpace(file))