From b74d7361a1d1a0b5bbcd113c8eee2f59863050d9 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Mon, 14 Apr 2025 22:25:54 -0500 Subject: [PATCH] In deploy-ebook-to-www, only check for tsp if it's installed --- scripts/deploy-ebook-to-www | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-ebook-to-www b/scripts/deploy-ebook-to-www index 5c0e751b..35442b21 100755 --- a/scripts/deploy-ebook-to-www +++ b/scripts/deploy-ebook-to-www @@ -431,8 +431,10 @@ do done queuedTasks="false" -if tsp | grep --quiet --extended-regexp "^[0-9]+\s+queued"; then - queuedTasks="true" +if which tsp > /dev/null; then + if tsp | grep --quiet --extended-regexp "^[0-9]+\s+queued"; then + queuedTasks="true" + fi fi if [ "${feeds}" = "true" ]; then