From e595dcb94c0ea8aacc92a0090cc6a9f52f1b728f Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 12 May 2023 08:36:16 +0200 Subject: [pacman][linux-lts] fix file list sorting --- .config/pacman/bin/linux-lts-versioned-bin-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/pacman/bin') 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) -- cgit v1.2.3