Skip to content

Commit

Permalink
package installer fix to handle .bak files
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwalker committed May 29, 2021
1 parent d73e1d2 commit 7ed93b5
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 7ed93b5

Please sign in to comment.