From afc8a490740107a49fa0b91d214225c6fbf6b2f3 Mon Sep 17 00:00:00 2001 From: creitz25 Date: Tue, 28 Mar 2023 09:00:00 +0200 Subject: [PATCH] #1054 automated security warnings #1054 automated security warnings --- documentation/functions.asciidoc | 3 -- scripts/src/main/resources/scripts/functions | 29 -------------------- 2 files changed, 32 deletions(-) diff --git a/documentation/functions.asciidoc b/documentation/functions.asciidoc index d10814c4c..15f9af1ad 100644 --- a/documentation/functions.asciidoc +++ b/documentation/functions.asciidoc @@ -439,6 +439,3 @@ In this case, it does the handling to `list`, `get`, or `set` the version and ex If -- is passed, a variable is set that prevents further calls of this function and ends with the return value 0. If none of these options are passed, the return value is 255. -=== doTranslateMirrorOptionsToUrlOptions -Translate edition variables from mirrors environment to ide-urls environment. - diff --git a/scripts/src/main/resources/scripts/functions b/scripts/src/main/resources/scripts/functions index b83384067..5e7c55e57 100644 --- a/scripts/src/main/resources/scripts/functions +++ b/scripts/src/main/resources/scripts/functions @@ -204,8 +204,6 @@ function doCheckSoftwareSecurityVersion() { if [ -z "${edition}" ] then edition="${software}" - else - doTranslateMirrorOptionsToUrlOptions fi security_file="${DEVON_IDE_HOME}/urls/${software}/${edition}/security" fi @@ -240,33 +238,6 @@ function doReportVersionSecurityWarning() { doWarning "${message}" } -function doTranslateMirrorOptionsToUrlOptions() { - if [ -n "${INTELLIJ_EDITION_TYPE}" ] - then - case "${INTELLIJ_EDITION_TYPE}" in - "c"|"C") # shellcheck disable=SC2034 - INTELLIJ_EDITION="community";; - - "u"|"U") # shellcheck disable=SC2034 - INTELLIJ_EDITION="ultimate";; - esac - fi - if [ -n "${ECLIPSE_EDITION_TYPE}" ] - then - # shellcheck disable=SC2034 - ECLIPSE_EDITION="${ECLIPSE_EDITION_TYPE}" - fi - if [ -n "${DOCKER_EDITION}" ] - then - # shellcheck disable=SC2034 - case ${DOCKER_EDITION} in - DOCKERDESKTOP) DOCKER_EDITION="docker";; - docker) DOCKER_EDITION="docker";; - *) DOCKER_EDITION="rancher";; - esac - fi -} - function doDebug() { if ! doIsDebug then