bin/check-updates

9 lines
189 B
Plaintext
Raw Normal View History

2024-12-22 19:51:08 +01:00
#!/usr/bin/env bash
DNF_UPDATES=$(sudo dnf check-update | wc -l)
FLATPAK_UPDATES=$(flatpak remote-ls --updates | wc -l)
echo "[ DNF: $DNF_UPDATES ] [ Flatpak: $FLATPAK_UPDATES ]"
exit 0