From 7ed93b5ce65b3635637ce254bb9eba63c4a530a1 Mon Sep 17 00:00:00 2001 From: Shaun Walker Date: Sat, 29 May 2021 15:13:27 -0400 Subject: [PATCH] package installer fix to handle .bak files --- Oqtane.Server/Infrastructure/InstallationManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Server/Infrastructure/InstallationManager.cs b/Oqtane.Server/Infrastructure/InstallationManager.cs index f6b2c524..f5e730e4 100644 --- a/Oqtane.Server/Infrastructure/InstallationManager.cs +++ b/Oqtane.Server/Infrastructure/InstallationManager.cs @@ -48,7 +48,7 @@ namespace Oqtane.Infrastructure // move packages to secure location foreach (var folder in "Modules,Themes,Packages".Split(",")) { - foreach(var file in Directory.GetFiles(Path.Combine(webRootPath, folder), "*.nupkg")) + foreach(var file in Directory.GetFiles(Path.Combine(webRootPath, folder), "*.nupkg*")) { var destinationFile = Path.Combine(sourceFolder, Path.GetFileName(file)); if (File.Exists(destinationFile))