2024-01-28 16:37:10 -06:00

10 lines
177 B
Bash

#!/bin/sh
updates=$(flatpak update 2>/dev/null | tail -n +5 | grep -Ecv "^$|^Proceed|^Nothing")
if [ "$updates" -gt 0 ]; then
echo "flatpak: $updates"
else
echo ""
fi