mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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:
commit
ccebb010c9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue