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" ;;