Skip to content

Commit e954ab0

Browse files
kabicinKirby Chin
authored andcommitted
Install fixes if jars exist
1 parent 2c2d2b5 commit e954ab0

File tree

1 file changed

+1
-1
lines changed
  • releases/latest/kernel-slim/helpers/build/internal

1 file changed

+1
-1
lines changed

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)