From 2695059839c20b5c52063938c5da67e129c1f2bd Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Mon, 23 Mar 2020 15:33:18 -0400 Subject: [PATCH] removed extraneous copies --- container_files/usr-local-bin/library.sh | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/container_files/usr-local-bin/library.sh b/container_files/usr-local-bin/library.sh index 010e9821..2cded60f 100755 --- a/container_files/usr-local-bin/library.sh +++ b/container_files/usr-local-bin/library.sh @@ -7,6 +7,10 @@ if [ -d "/opt/grouper/slashRoot" ]; then rsync -l -r -v /opt/grouper/slashRoot/ / fi +if [ -d "/opt/grouper/lib" ]; then + cp -r /opt/grouper/lib/* $dest/libUiAndDaemon/ +fi + setupPipe() { if [ -e $1 ]; then rm $1 @@ -78,9 +82,7 @@ prepDaemonConf() { if [ -d "/opt/grouper/conf" ]; then cp -r /opt/grouper/conf/* $dest/classes/ fi - if [ -d "/opt/grouper/lib" ]; then - cp -r /opt/grouper/lib/* $dest/lib/custom/ - fi + } prepSCIM() { @@ -104,9 +106,7 @@ prepSCIMConf() { if [ -d "/opt/grouper/conf" ]; then cp -r /opt/grouper/conf/* $dest/classes/ fi - if [ -d "/opt/grouper/lib" ]; then - cp -r /opt/grouper/lib/* $dest/lib/ - fi + } prepUI() { @@ -131,9 +131,7 @@ prepUIConf() { if [ -d "/opt/grouper/conf" ]; then cp -r /opt/grouper/conf/* $dest/classes/ fi - if [ -d "/opt/grouper/lib" ]; then - cp -r /opt/grouper/lib/* $dest/lib/ - fi + } prepWS() { @@ -156,9 +154,7 @@ prepWSConf() { if [ -d "/opt/grouper/conf" ]; then cp -r /opt/grouper/conf/* $dest/classes/ fi - if [ -d "/opt/grouper/lib" ]; then - cp -r /opt/grouper/lib/* $dest/lib/ - fi + }