From 11a30892c528761b53d88aad89b36490ee436b62 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 13 Feb 2020 15:02:15 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=20Only=20do=20pip3=20list=20when?= =?UTF-8?q?=20LOG=5FLEVEL=20>=3D=20DEBUG?= 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 8f505ef..be6a04f 100755 --- a/my_ocrd_workflow +++ b/my_ocrd_workflow @@ -148,7 +148,9 @@ main() { } -pip3 list +if [ "$LOG_LEVEL" = "DEBUG" -o "$LOG_LEVEL" = "TRACE" ]; then + pip3 list +fi main