mirror of
https://codeberg.org/hyperreal/bin
synced 2025-01-18 08:13:44 +01:00
Remove error check; useless.
This commit is contained in:
parent
923fd9955a
commit
524bb1b00d
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user