From e02563dfec2f8a691dabe782980c694af8841fd2 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Thu, 29 Oct 2020 22:07:23 +0100 Subject: [PATCH] Output from checkupdates might be too long --- dotfiles/shell/aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/shell/aliases b/dotfiles/shell/aliases index 70a500d..a02a77d 100644 --- a/dotfiles/shell/aliases +++ b/dotfiles/shell/aliases @@ -55,8 +55,8 @@ hello() { sudo protonvpn c -f echo # Don't update if its a kernel update that will require reboot - if checkupdates; then - case "$(checkupdates)" in + if checkupdates | grep linux; then + case "$(checkupdates | grep linux)" in *linux*) echo "Not performing update" ;;