diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-05-13 17:59:52 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-05-13 17:59:52 -0400 |
| commit | feb3654bf1aeae7d279c89d105460925dfdd808b (patch) | |
| tree | 07f69339d3ad06d448bfc70a098ee304bc9361ea | |
| parent | e40e6d420652831eec363e6d6baae82a99a4311a (diff) | |
fix plugin uninstallation
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index e7aa402f2..eed17fb66 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)) |
