From 22ce55a1a02294519a04bd32ce360b8b7e5bcf5c Mon Sep 17 00:00:00 2001 From: James Polley Date: Sat, 17 May 2025 13:53:19 +1000 Subject: [PATCH] Change to use same syntax as check for composer There's a proposed solution to #4247 (which doesn't seem to have been committed - I'll fix that in a moment). I've changed the test I'm using to match that suggestion. --- ct/kimai.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/kimai.sh b/ct/kimai.sh index d4d5aa353..d0ff6bc8f 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -23,7 +23,7 @@ function update_script() { header_info check_container_storage check_container_resources - if [[ ! -x /bin/lsb_release]]; then + if ! command -v lsb_release; then apt install -y lsb-release fi if [[ ! -d /opt/kimai ]]; then