diff options
author | Erich Eckner <git@eckner.net> | 2019-01-04 08:34:51 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-04 08:34:51 +0100 |
commit | 74f1add45c6924e05d599a0d3d1a6dc17fe1bcfc (patch) | |
tree | 2fd313a4a87f1b901f5523f5c99663115feaab29 | |
parent | 21f7c7a9ff51c7eda615f0bf3f30925778e2b73e (diff) | |
download | check-kernel-74f1add45c6924e05d599a0d3d1a6dc17fe1bcfc.tar.xz |
check-kernel.in: ignore trailing .0 in arch's kernel version
-rw-r--r-- | check-kernel.in | 2 |
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=$( |