From 1acb0bf5a2af3799e02028006bfec7d8325a0d42 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 18 Jun 2024 12:42:55 +0200 Subject: make it work with artix kernels, too --- check-kernel.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check-kernel.in b/check-kernel.in index ec76b6d..abf0da4 100644 --- a/check-kernel.in +++ b/check-kernel.in @@ -76,7 +76,7 @@ elif which pacman >/dev/null 2>&1; then uname -r | \ sed ' s|-ARCH$|| - s|\(\.0\)\?-arch|.| + s#\(\.0\)\?-ar\(ch\|tix\)#.# ' ) installed=$( @@ -90,7 +90,7 @@ elif which pacman >/dev/null 2>&1; then uniq -d } | \ cut -d' ' -f2 | \ - sed 's/\.arch/./' | \ + sed 's/\.ar\(ch\|tix\)/./' | \ sort -V | \ tail -n1 ) -- cgit v1.2.3-70-g09d2