Skip to content

Commit

Permalink
removed extraneous copies
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Mar 23, 2020
1 parent 75bf9d6 commit 2695059
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions container_files/usr-local-bin/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand All @@ -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() {
Expand All @@ -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() {
Expand All @@ -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

}


Expand Down

0 comments on commit 2695059

Please sign in to comment.