We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190f95e commit 2328a52Copy full SHA for 2328a52
1 file changed
etc/library.sh
@@ -503,7 +503,7 @@ function is_more_recent_than()
503
function is_app_enabled()
504
{
505
local app="$1"
506
- ncc app:list --output json | jq -r '.enabled | keys | .[]' | grep '^previewgenerator$' > /dev/null 2> /dev/null
+ ncc app:list --output json | jq -r '.enabled | keys | .[]' | grep "^${app}$" > /dev/null 2> /dev/null
507
}
508
509
function check_distro()
0 commit comments