Skip to content

Commit 645d662

Browse files
committed
Install fixes if jars exist
1 parent 67fa5ed commit 645d662

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • releases/latest/kernel-slim/helpers/build/internal

releases/latest/kernel-slim/helpers/build/internal/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function showLogs() {
1717
}
1818

1919
function installFixes() {
20-
if [ ! -f "/logs/fixes.log" ]; then
20+
if [ ! -f "/logs/fixes.log" ] && ls /opt/$WLP_TYPE/fixes/*.jar 1> /dev/null 2>&1; then
2121
find /opt/$WLP_TYPE/fixes -type f -name "*.jar" -print0 | sort -z | xargs -0 -n 1 -r -I {} java -jar {} --installLocation $WLP_INSTALL_DIR
2222
echo "installFixes has been run" > /logs/fixes.log
2323
fi

0 commit comments

Comments
 (0)