In deploy-ebook-to-www, only check for tsp if it's installed

This commit is contained in:
Alex Cabal 2025-04-14 22:25:54 -05:00
parent ac7a9f3725
commit b74d7361a1

View file

@ -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