Package Details: checkupdates+aur 1-3

Git Clone URL: (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: 7
Popularity: 0.028901
First Submitted: 2017-01-28 16:31 (UTC)
Last Updated: 2021-02-11 06:36 (UTC)

Latest Comments

xuanruiqi commented on 2022-11-23 00:10 (UTC)

For those who are too lazy to write a 3-line script, I have the package checkupdates-with-aur that still works and functions exactly the same as this one.

servimo commented on 2021-04-10 02:20 (UTC) (edited on 2021-04-10 23:06 (UTC) by servimo)

How to use it with Conky? Found: "Updates: ${execi 600 checkupdates+aur | wc -l}"

Adaephon commented on 2021-02-10 14:19 (UTC)

I just installed checkupdates+aur on a fresh install and got an error when trying to run it:

% checkupdates+aur    
/usr/bin/checkupdates+aur: line 2: /usr/bin/checkupdates: No such file or directory

Turns out that I had not yet installed pacman-contrib. Maybe checkupdates+aur should explicitly depend on the pacman-contrib package in order to ensure that checkupdates is actually installed?

oweissbarth commented on 2020-07-09 07:28 (UTC)

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 (UTC)

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

checkupdates returns 2 whenever no updates are available:

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 (UTC)

@Toreno96 should be fixed now.

Toreno96 commented on 2020-06-25 12:42 (UTC)

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?