From defcc28d1949572575b1ae86d29f2bbaeb683db7 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Wed, 2 Mar 2022 14:38:34 +0000 Subject: [PATCH] JAL-3130 updated download_jres.sh --- utils/download_jres.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/download_jres.sh b/utils/download_jres.sh index 8029e82..26442ea 100755 --- a/utils/download_jres.sh +++ b/utils/download_jres.sh @@ -103,6 +103,7 @@ for FEATURE_VERSION in 8 11 17; do # make symbolic link with _ instead of - for install4j9 NEWNAME=${NAME//-/_} echo "Linking from ${NEWNAME}.${EXT} for install4j9" + [ -e "${ARCHIVEDIR}/${NEWNAME}.${EXT}" ] && $RM "${ARCHIVEDIR}/${NEWNAME}.${EXT}" ln -s "${NAME}.${EXT}" "${ARCHIVEDIR}/${NEWNAME}.${EXT}" ;; *) -- 1.7.10.2