Simplify the collectionActive
function
This commit is contained in:
parent
5ae07886c8
commit
3c1c4f2710
1 changed files with 1 additions and 1 deletions
|
@ -54,5 +54,5 @@ function isOSEnabled -S -a property
|
|||
end
|
||||
|
||||
function collectionActive -S -a name
|
||||
[ "$(getOSConfig "software.$name" --json)" = "true" ]
|
||||
isOSEnabled "software.$name"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue