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