Skip to content

Commit

Permalink
fixed custom jar upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaygarg-oracle committed Jun 27, 2023
1 parent 6124028 commit 2673ee2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions OracleIdentityGovernance/samples/scripts/agentManagement.sh
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,15 @@ upgrade()

#install the upgrade
operation=upgrade
# Following copies the customJars from the install location to the upgrade directory
if [ -d "${installedPV}/data/customJars" ]
then
if [ "$(ls -A "${installedPV}/data/customJars")" ]
then
echo "INFO: Copying custom jars"
cp -rf "${installedPV}/data/customJars" "${PV}/upgrade/data"
fi
fi
install
#install also loads the image, so we can get the new image here
newimage="${imageName}"
Expand Down

0 comments on commit 2673ee2

Please sign in to comment.