10 lines
177 B
Bash
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
|