bin/check-updates

9 lines
189 B
Bash
Executable File

#!/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