mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-17 18:46:43 +01:00
Fix var name
Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
parent
7f91a3a233
commit
ff77d29974
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ fullversions_beta=( $( curl -fsSL 'https://download.nextcloud.com/server/prerele
|
||||||
grep -oE 'nextcloud-[[:digit:]]+(\.[[:digit:]]+){2}beta[[:digit:]]+' | \
|
grep -oE 'nextcloud-[[:digit:]]+(\.[[:digit:]]+){2}beta[[:digit:]]+' | \
|
||||||
grep -oE '[[:digit:]]+(\.[[:digit:]]+){2}beta[[:digit:]]+' | \
|
grep -oE '[[:digit:]]+(\.[[:digit:]]+){2}beta[[:digit:]]+' | \
|
||||||
sort -urV ) )
|
sort -urV ) )
|
||||||
versions_rc=( $( printf '%s\n' "${fullversions_beta[@]}" | cut -d. -f1-2 | sort -urV ) )
|
versions_beta=( $( printf '%s\n' "${fullversions_beta[@]}" | cut -d. -f1-2 | sort -urV ) )
|
||||||
for version in "${versions_rc[@]}"; do
|
for version in "${versions_beta[@]}"; do
|
||||||
fullversion="$( printf '%s\n' "${fullversions_beta[@]}" | grep -E "^$version" | head -1 )"
|
fullversion="$( printf '%s\n' "${fullversions_beta[@]}" | grep -E "^$version" | head -1 )"
|
||||||
|
|
||||||
if version_greater_or_equal "$version" "$min_version"; then
|
if version_greater_or_equal "$version" "$min_version"; then
|
||||||
|
|
Loading…
Reference in a new issue