From: Ben Soares Date: Wed, 2 Mar 2022 14:38:34 +0000 (+0000) Subject: JAL-3130 updated download_jres.sh X-Git-Tag: Release_2_11_2_1~39^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=defcc28d1949572575b1ae86d29f2bbaeb683db7;p=jalview.git JAL-3130 updated download_jres.sh --- 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}" ;; *)