From 771aa9340f06f5c00bdbe41bb5569b14290e589a Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sylvester.joosten@gmail.com>
Date: Tue, 8 Jun 2021 18:12:13 +0000
Subject: [PATCH] Update install.sh

---
 install.sh | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/install.sh b/install.sh
index 31b73c085..5318d944c 100755
--- a/install.sh
+++ b/install.sh
@@ -162,24 +162,12 @@ done
 
 ## create a new top-level eic-shell launcher script
 ## that sets the ATHENA_PREFIX and then starts singularity
-## need different script for old singularity versions
-if [ ${SINGULARITY_VERSION:0:1} != 2 ]; then
-## newer singularity
-cat << EOF > eic-shell
-#!/bin/bash
-export ATHENA_PREFIX=$PREFIX/local
-export SINGULARITY_BINDPATH=$BINDPATH
-$SINGULARITY run $SIF
-EOF
-else
-## ancient singularity
 cat << EOF > eic-shell
 #!/bin/bash
 export ATHENA_PREFIX=$PREFIX/local
 export SINGULARITY_BINDPATH=$BINDPATH
 $SINGULARITY exec $SIF eic-shell
 EOF
-fi
 
 chmod +x eic-shell
 
-- 
GitLab