Simplify the collectionActive function

This commit is contained in:
Manuel Thalmann 2024-09-23 02:29:18 +02:00
parent 5ae07886c8
commit 3c1c4f2710

View file

@ -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