icinga-powershell-framework/lib/core/jea/Remove-IcingaFrameworkDependencyFile.psm1
2021-09-02 09:23:10 +02:00

10 lines
284 B
PowerShell

function Remove-IcingaFrameworkDependencyFile()
{
$DependencyFile = Join-Path -Path (Get-IcingaCacheDir) -ChildPath 'framework_dependencies.json';
if (-Not (Test-Path $DependencyFile)) {
return;
}
Remove-ItemSecure -Path $DependencyFile -Force | Out-Null;
}