From 1e22cd556953e39b37d013b3c9c528b456ca79b5 Mon Sep 17 00:00:00 2001 From: Philip <philm@manjaro.org> Date: Sat, 24 Feb 2018 12:11:34 +0100 Subject: [PATCH] [mhwd-kernel] fix linux-rt display --- scripts/mhwd-kernel | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/mhwd-kernel b/scripts/mhwd-kernel index d5d6290..b7c1207 100755 --- a/scripts/mhwd-kernel +++ b/scripts/mhwd-kernel @@ -61,7 +61,8 @@ kernel_repo() { kernel_list() { printf "\e[32mCurrently running:\e[0m $(uname -r) (${current})\n" echo "The following kernels are installed in your system:" - pacman -Qqs "^linux[0-9][0-9]?.*[0-9t]$" | while read -r; do echo " * $REPLY"; done + pacman -Qqs "^linux[0-9][0-9]?([0-9])$" | while read -r; do echo " * $REPLY"; done + pacman -Qqs "^linux[0-9][0-9]?([0-9])-rt$" | while read -r; do echo " * $REPLY"; done } kernel_remove() { -- GitLab