diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-06-18 12:42:55 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-06-18 12:42:55 +0200 |
commit | 1acb0bf5a2af3799e02028006bfec7d8325a0d42 (patch) | |
tree | 55a64ed9633500e106dc3c732219b22eb5bea9cc /check-kernel.in | |
parent | 1212daae5315a2fe075649bfc02553d8a590d684 (diff) | |
download | check-kernel-1acb0bf5a2af3799e02028006bfec7d8325a0d42.tar.xz |
make it work with artix kernels, too
Diffstat (limited to 'check-kernel.in')
-rw-r--r-- | check-kernel.in | 4 |
1 files 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 ) |