Package Details: checkupdates+aur 1-3

Git Clone URL: https://aur.archlinux.org/checkupdates+aur.git (read-only, click to copy)
Package Base: checkupdates+aur
Description: combines checkupdates and checkupdates-aur with separator as argument
Upstream URL: None
Licenses: LGPL3
Submitter: npfeiler
Maintainer: oweissbarth
Last Packager: oweissbarth
Votes: 3
Popularity: 0.158828
First Submitted: 2017-01-28 16:31
Last Updated: 2020-07-09 07:25

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

oweissbarth commented on 2020-07-09 07:28

I made the exit code much more explicit now. checkupdates-aur does not seem to change its exit code when there are no updates. We therefore check if the output is empty.

luizribeiro commented on 2020-07-05 15:30

I think the most recent fix created inconsistency issues with the return code of the script.

checkupdates returns 2 whenever no updates are available: https://git.archlinux.org/pacman-contrib.git/commit/?id=3da550ef93ae0b999836181044d33a8147a00088

checkupdates-aur, however, returns 0 whenever there are no updates. This makes the return code of this script unreliable for setting up alerts on.

Maybe we could make the return value consistent with something along these lines?

(checkupdates-aur && return 2) || return 0

oweissbarth commented on 2020-06-25 13:26

@Toreno96 should be fixed now.

Toreno96 commented on 2020-06-25 12:42

Current implementation of checkupdates+aur.bash makes the script fail prematurely when there are no outdated packages detected by checkupdates (return code 2): it shows no output, even if there are outdated packages in AUR.

I suppose it's not the desired behavior?