package installer fix to handle .bak files
This commit is contained in:
parent
d73e1d21c7
commit
7ed93b5ce6
|
@ -48,7 +48,7 @@ namespace Oqtane.Infrastructure
|
||||||
// move packages to secure location
|
// move packages to secure location
|
||||||
foreach (var folder in "Modules,Themes,Packages".Split(","))
|
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));
|
var destinationFile = Path.Combine(sourceFolder, Path.GetFileName(file));
|
||||||
if (File.Exists(destinationFile))
|
if (File.Exists(destinationFile))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user