summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--check-kernel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-kernel.in b/check-kernel.in
index e78eedb..18c494a 100644
--- a/check-kernel.in
+++ b/check-kernel.in
@@ -53,7 +53,7 @@ if which pacman >/dev/null 2>&1; then
uname -r | \
sed '
s|-ARCH$||
- s|-arch|.arch|
+ s|\(\.0\)\?-arch|.arch|
'
)
installed=$(