archlinux: checkupdates output is not checked anymore, ignore it

This commit is contained in:
Marek Marczykowski-Górecki 2021-01-03 05:28:38 +01:00
parent f95f08e15f
commit e1ebbf2893
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -32,7 +32,7 @@ elif [ -e /etc/arch-release ]; then
## Archlinux
set -e
set -o pipefail
checkupdates_output="$(checkupdates 2>&1)"
checkupdates >/dev/null 2>&1
exit_code="$?"
[ "$exit_code" -eq 2 ] && echo "true" && exit 0
echo "false"