mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 04:58:37 +00: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
@ -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 New Issue
Block a user