Improve performance
This commit is contained in:
parent
eae19dab1f
commit
4b09cd1f87
3 changed files with 24 additions and 49 deletions
scripts/Common/Scripts
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue