You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #479 from Icinga:fix/download_packages_removal_exception
Fix: Exceptions while removing temp files from repository download
Fixes possible exceptions while trying to remove downloaded repository temp files which might still contain a file lock from virusscanners or other tasks
Copy file name to clipboardExpand all lines: doc/100-General/10-Changelog.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
14
14
### Bugfixes
15
15
16
16
*[#472](https://github.com/Icinga/icinga-powershell-framework/pull/472) Fixes random errors while dynamically compiling Add-Type code by now writing a DLL inside `cache/dll` for later usage
17
-
*[#478](https://github.com/Icinga/icinga-powershell-framework/pull/478) Fixes connection option "Connecting from parent system" which is not asking for ca.crt location
17
+
*[#472](https://github.com/Icinga/icinga-powershell-framework/pull/472) Fixes random errors while dynamically compiling Add-Type code by now writing a DLL inside `cache/dll` for later usage
18
+
*[#479](https://github.com/Icinga/icinga-powershell-framework/pull/479) Fixes possible exceptions while trying to remove downloaded repository temp files which might still contain a file lock from virusscanners or other tasks
Copy file name to clipboardExpand all lines: lib/core/repository/Install-IcingaComponent.psm1
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ function Install-IcingaComponent()
83
83
if ((Invoke-IcingaWebRequest-UseBasicParsing -Uri $FileSource-OutFile $DownloadDestination).HasErrors) {
84
84
Write-IcingaConsoleError ([string]::Format('Failed to download "{0}" from "{1}" into "{2}". Starting cleanup process',$Name.ToLower(),$FileSource,$DownloadDestination));
@@ -145,7 +145,7 @@ function Install-IcingaComponent()
145
145
if ($ManifestFile.ModuleVersion-eq$InstallVersion-And$Force-eq$FALSE) {
146
146
Write-IcingaConsoleWarning ([string]::Format('The package "{0}" with version "{1}" is already installed. Use "-Force" to re-install the component',$Name.ToLower(),$ManifestFile.ModuleVersion));
@@ -285,21 +285,21 @@ function Install-IcingaComponent()
285
285
286
286
if ($Success-eq0) {
287
287
Write-IcingaConsoleWarning ([string]::Format('The package "service" with version "{0}" is already installed. Use "-Force" to re-install the component',$InstalledService.ProductVersion));
Write-IcingaConsoleNotice'Installation of component "service" was successful';
296
296
297
297
return;
298
298
}
299
299
300
300
Write-IcingaConsoleError'Failed to install component "service". Either the package did not include a service binary or the checksum of the binary did not match';
Write-IcingaConsoleError'There was no manifest file found inside the package';
@@ -352,7 +352,7 @@ function Install-IcingaComponent()
352
352
353
353
if ($InstalledVersion.Full-eq$MSIData.ProductVersion-And$Force-eq$FALSE) {
354
354
Write-IcingaConsoleWarning'The package "agent" with version "{0}" is already installed. Use "-Force" to re-install the component'-Objects $InstalledVersion.Full;
0 commit comments