Merge pull request #161287 from duxovni/linux-rt

linux-rt: Fix incorrect ordering of kernel version numbers when determining latest version
This commit is contained in:
Artturi 2022-02-26 05:34:23 +02:00 committed by GitHub
commit ccebb010c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,7 @@ latest-rt-version() {
curl -sL "$mirror/projects/rt/$branch/sha256sums.asc" |
sed -ne '/.patch.xz/ { s/.*patch-\(.*\).patch.xz/\1/p}' |
grep -v '\-rc' |
sort --version-sort |
tail -n 1
}