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