Remove error check; useless.

This commit is contained in:
Jeffrey Serio 2024-12-24 18:42:00 -06:00
parent 923fd9955a
commit 524bb1b00d

View File

@ -1,15 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if ! sudo dnf check-update >/dev/null; then
echo "Error checking for DNF updates"
exit 1
fi
if ! flatpak remote-ls --updates >/dev/null; then
echo "Error checking for Flatpak updates"
exit 1
fi
DNF_UPDATES=$(sudo dnf check-update | wc -l) DNF_UPDATES=$(sudo dnf check-update | wc -l)
FLATPAK_UPDATES=$(flatpak remote-ls --updates | wc -l) FLATPAK_UPDATES=$(flatpak remote-ls --updates | wc -l)