From 4458c674452301f41e0574cf94aec609df80141a Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Thu, 27 Feb 2020 12:00:48 -0500 Subject: [PATCH] Update library.sh --- container_files/usr-local-bin/library.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/container_files/usr-local-bin/library.sh b/container_files/usr-local-bin/library.sh index 808ad973..8341810f 100755 --- a/container_files/usr-local-bin/library.sh +++ b/container_files/usr-local-bin/library.sh @@ -1,7 +1,11 @@ #!/bin/sh dest=/opt/grouper/grouperWebapp/WEB-INF/ -rsync -l -r -v /opt/grouper/slashRoot/ / + +if [ -d "/opt/grouper/slashRoot" ]; then + # Copy any files into the root filesystem + rsync -l -r -v /opt/grouper/slashRoot/ / +fi setupPipe() { if [ -e $1 ]; then