From 2328a52952e27abf9a50b27f525583ceba74182c Mon Sep 17 00:00:00 2001 From: MagelanM Date: Sun, 10 May 2026 15:14:36 +0200 Subject: [PATCH] fix for is_app_enabled(): replace hard coded 'previewgenerator' by variable Signed-off-by: MagelanM --- etc/library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()