Skip to content

Commit

Permalink
Merge pull request #1418 from sbwalker/dev
Browse files Browse the repository at this point in the history
package installer fix to handle .bak files
  • Loading branch information
sbwalker authored May 29, 2021
2 parents 21ad5f4 + 7ed93b5 commit 89cd0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Oqtane.Server/Infrastructure/InstallationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static bool InstallPackages(string webRootPath, string contentRootPath)
// 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))
Expand Down

0 comments on commit 89cd0c7

Please sign in to comment.