Improve performance

This commit is contained in:
Manuel Thalmann 2024-09-08 17:41:30 +02:00
commit 4b09cd1f87
3 changed files with 24 additions and 49 deletions
scripts/Common/Scripts

View file

@ -458,21 +458,6 @@ $null = New-Module {
Set-SetupOption $finishedOption $true;
}
<#
.SYNOPSIS
Checks whether the specified software collection is enabled.
.PARAMETER Name
The name of the collection to check.
#>
function Test-Collection {
param(
[string] $Name
)
Get-Config "$(Get-ConfigRootName).software.$Name";
}
<#
.SYNOPSIS
Checks whether the running system is a QEMU virtual machine.