Skip to content

Commit

Permalink
devonfw#1054 automated security warnings
Browse files Browse the repository at this point in the history
devonfw#1054 automated security warnings
  • Loading branch information
CREITZ25 committed Mar 28, 2023
1 parent 1f154cb commit afc8a49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
3 changes: 0 additions & 3 deletions documentation/functions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

29 changes: 0 additions & 29 deletions scripts/src/main/resources/scripts/functions
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit afc8a49

Please sign in to comment.