From 3511470cd41cc94e3f80b7161faa919882ae94c3 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 19 May 2026 17:03:43 +0000 Subject: [PATCH] fix(install): warn loudly when shelltime-daemon is missing from archive Previously the script silently skipped the daemon move when shelltime-daemon was absent from the extracted tarball, leaving Linux users without a working daemon and no signal that anything went wrong. Now print a clear stderr warning pointing out that the CLI will attempt to auto-download the daemon on first `shelltime daemon install`. Keep the script non-fatal so the rest of the install (hooks, PATH, daemon dir) still completes. https://claude.ai/code/session_01ThKSJA9sGXQm8jMeCZZdYY --- install.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.bash b/install.bash index 7add3b0..5021b7e 100644 --- a/install.bash +++ b/install.bash @@ -144,6 +144,12 @@ if [[ "$OS" == "Darwin" ]] || [[ "$OS" == "Linux" ]]; then mv shelltime "$HOME/.shelltime/bin/" if [ -f "shelltime-daemon" ]; then mv shelltime-daemon "$HOME/.shelltime/bin/" + else + echo "" >&2 + echo "WARNING: shelltime-daemon binary was NOT found in $FILENAME." >&2 + echo " The CLI will attempt to auto-download it on first" >&2 + echo " 'shelltime daemon install/reinstall'." >&2 + echo "" >&2 fi # elif [[ "$OS" == "MINGW64_NT" ]] || [[ "$OS" == "MSYS_NT" ]] || [[ "$OS" == "CYGWIN_NT" ]]; then # mv shelltime /c/Windows/System32/