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 sudo protonvpn c -f
echo echo
# Don't update if its a kernel update that will require reboot # Don't update if its a kernel update that will require reboot
if checkupdates; then if checkupdates | grep linux; then
case "$(checkupdates)" in case "$(checkupdates | grep linux)" in
*linux*) *linux*)
echo "Not performing update" echo "Not performing update"
;; ;;