mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
fix plugin uninstallation
This commit is contained in:
parent
e40e6d4206
commit
feb3654bf1
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue