diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-05-12 08:36:16 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | e595dcb94c0ea8aacc92a0090cc6a9f52f1b728f (patch) | |
tree | 1986e8f6754ef116082c2012464c4a5c022d5df6 /.config/pacman | |
parent | ec3e2a8ae119fe6a5bfd704ce612244a8e757b5f (diff) |
[pacman][linux-lts] fix file list sorting
Diffstat (limited to '.config/pacman')
-rwxr-xr-x | .config/pacman/bin/linux-lts-versioned-bin-hook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/pacman/bin/linux-lts-versioned-bin-hook b/.config/pacman/bin/linux-lts-versioned-bin-hook index bdda6d5..b2cfc17 100755 --- a/.config/pacman/bin/linux-lts-versioned-bin-hook +++ b/.config/pacman/bin/linux-lts-versioned-bin-hook @@ -4,7 +4,7 @@ import sys, os, re boot_dir = '/boot' -lts_vm_files = list( +lts_vm_files = sorted( filter( re.compile(r'vmlinuz-([\d\.\-]+)-lts$').match, os.listdir(boot_dir) |