Skip to content

Commit b0b6bb5

Browse files
committed
chore(docker-entrypoint): remove unused shell function
1 parent b6f0c39 commit b0b6bb5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docker-entrypoint.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ function file_env() {
2424
unset "$fileVar"
2525
}
2626

27-
# usage: version_gte FIRST_VERSON SECOND_VERSION
28-
# e.g.: version_gte $SATOSA_VERSION 8.0.0
29-
# (will return true if the first version number is greater than or
30-
# equal to the second)
31-
function version_gte() {
32-
# https://stackoverflow.com/questions/16989598/comparing-php-version-numbers-using-bash#24067243
33-
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1" \
34-
|| test "$1" = "$2"
35-
}
36-
3727
# check to see if this file is being run or sourced from another
3828
# script
3929
function _is_sourced() {

0 commit comments

Comments
 (0)