File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -440,8 +440,8 @@ upgrade_start_routine() {
440440 # Define variables for accessing supported versions
441441 # Sort version by -V due to issues with version numbers 1.4.10 and higher
442442 all_versions=$( printf " %s\n" ${available_versions[@]} | sort -V)
443- oldest_version=$( printf " %s\n" ${available_versions[@]} | head -n1)
444- latest_version=$( printf " %s\n" ${available_versions[@]} | tail -n1)
443+ oldest_version=$( printf " %s\n" ${available_versions[@]} | sort -V | head -n1)
444+ latest_version=$( printf " %s\n" ${available_versions[@]} | sort -V | tail -n1)
445445
446446 # Check for supported versions and process necessary upgrade steps
447447 if [ $( check_version $latest_version ) -gt $( check_version $VERSION ) ]; then
You can’t perform that action at this time.
0 commit comments