summaryrefslogtreecommitdiff
path: root/check-kernel.in
diff options
context:
space:
mode:
Diffstat (limited to 'check-kernel.in')
-rw-r--r--check-kernel.in4
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
)