diff --git a/etc/library.sh b/etc/library.sh index 086c187ba..eb3697eef 100644 --- a/etc/library.sh +++ b/etc/library.sh @@ -503,7 +503,7 @@ function is_more_recent_than() function is_app_enabled() { local app="$1" - 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 } function check_distro()