From fc853d4d138d7e2d88148353edabcc6d204926ec Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 24 Aug 2020 17:23:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Handle=20missing=20pip3=20in=20t?= =?UTF-8?q?he=20main=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my_ocrd_workflow | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/my_ocrd_workflow b/my_ocrd_workflow index 30244ca..923a85a 100755 --- a/my_ocrd_workflow +++ b/my_ocrd_workflow @@ -82,7 +82,9 @@ main() { if [ "$LOG_LEVEL" = "DEBUG" -o "$LOG_LEVEL" = "TRACE" ]; then - pip3 list + if which pip3; then + pip3 list + fi fi main