From d77b06aeb03f732a8e836200ed6c085c846f13b0 Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sylvester.joosten@gmail.com>
Date: Fri, 28 May 2021 16:30:17 +0000
Subject: [PATCH] Remove erroneous error message in install.sh

---
 install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.sh b/install.sh
index d2e565019..171c0e73f 100755
--- a/install.sh
+++ b/install.sh
@@ -131,7 +131,7 @@ else
   fi
 fi
 
-if [ -z $SIF -o ! -f $SIF ]; then
+if [ -z $SIF -o ! -f $SIF -o ! -d $SIF ]; then
   echo "ERROR: no singularity image found"
 else
   echo " - Deployed ${CONTAINER} image: $SIF"
-- 
GitLab