mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 15:19:58 -05:00
Fixed missing config migration during upgrade
This commit is contained in:
parent
aff4658528
commit
df1e0e19eb
1 changed files with 4 additions and 0 deletions
|
|
@ -77,6 +77,10 @@ function Install-IcingaFrameworkUpdate()
|
|||
Write-Host 'Importing custom modules into new module version...';
|
||||
Copy-Item -Path (Join-Path -Path $NewDirectory -ChildPath 'custom') -Destination $ExtractDir -Force -Recurse;
|
||||
}
|
||||
if ((Test-Path (Join-Path -Path $NewDirectory -ChildPath 'config'))) {
|
||||
Write-Host 'Importing config into new module version...';
|
||||
Copy-Item -Path (Join-Path -Path $NewDirectory -ChildPath 'config') -Destination $ExtractDir -Force -Recurse;
|
||||
}
|
||||
Write-Host 'Creating backup directory';
|
||||
if ((Test-Path $OldBackupDir)) {
|
||||
Write-Host 'Importing old backups into new module version...';
|
||||
|
|
|
|||
Loading…
Reference in a new issue