From 3bff308de0ddc73e1929d320c3ae91d478098828 Mon Sep 17 00:00:00 2001 From: Arcod7 Date: Wed, 17 Jun 2026 08:10:44 +0000 Subject: [PATCH] fix: guiding message for headless setup --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 164c82c..617026f 100755 --- a/install.sh +++ b/install.sh @@ -188,8 +188,9 @@ check_cmd git check_cmd python3 if [ "${CI:-}" = "true" ] || [ "${CI:-}" = "1" ] || [ "${LUCY_INSTALL_SKIP_XHOST:-}" = "1" ]; then echo "install.sh: skipping xhost check (set CI=1 for headless CI or export LUCY_INSTALL_SKIP_XHOST=1 locally)." -else - check_cmd xhost +elif ! command -v xhost &>/dev/null; then + echo "Missing required command: xhost. Install it or skip this check by re-running with LUCY_INSTALL_SKIP_XHOST=1 (headless setups)." >&2 + exit 1 fi echo "Requirements OK (docker, git, python3)."