Output from checkupdates might be too long

This commit is contained in:
flyingscorpio@arch-desktop 2020-10-29 22:07:23 +01:00
parent 32b07ce637
commit e02563dfec

View file

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