diff scripts/backup-container-docker.sh @ 397:886a7dc796b8

INV-197 make display of IRN conditional as workflowdb has no access to this property
author Matt Calmes <calmes@ssdt-ohio.org>
date Thu, 28 Oct 2021 07:50:01 -0400
parents b3909bd1a2b6
children 8ddeb5a36678
line wrap: on
line diff
--- a/scripts/backup-container-docker.sh	Thu Oct 28 06:09:44 2021 -0400
+++ b/scripts/backup-container-docker.sh	Thu Oct 28 07:50:01 2021 -0400
@@ -49,8 +49,9 @@
 
 if [ ! -z "$containerName" ]; then
    echo "Container is $container"
-   echo "IRN is $IRN"
-
+   if [ "$container" = "invdb" ]; then
+      echo "IRN is $IRN"
+   fi
    echo "backup file ${backupFile}"
    echo "preparing to backup ${container} on current project at ${projectDir}:"
    echo " "