changeset 12:38c66e401040 draft

Uploaded
author dereeper
date Thu, 30 May 2024 19:59:16 +0000
parents ae74fc0cb39c
children 152d7c43478b
files PanExplorer.xml
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/PanExplorer.xml	Thu May 30 16:41:08 2024 +0000
+++ b/PanExplorer.xml	Thu May 30 19:59:16 2024 +0000
@@ -21,8 +21,13 @@
 
 cat config.yaml >$logfile;
 
-wget -O \$PANEX_PATH/panexplorer.sif https://panexplorer.southgreen.fr/singularity/panexplorer.sif >>$logfile 2>&1;
+
 
+if [ -f \$PANEX_PATH/panexplorer.sif ]; then
+   echo "Singularity file exists."
+else
+   wget -O \$PANEX_PATH/panexplorer.sif https://panexplorer.southgreen.fr/singularity/panexplorer.sif >>$logfile 2>&1
+fi