[arch-general] [solved] Wrapper for yaourt and pacman
ralf.mardorf at alice-dsl.net
Tue Jul 16 07:45:36 EDT 2013
On Mon, 2013-07-15 at 11:49 +0200, I wrote:
> If somebody has got a better idea, that does avoid to install linux-rt
> two times, please let me know.
Perhaps someday somebody else does miss the forest for the trees, so
here's the forest I found:
yaourt -aQu linux-rt
does check if there's an update for the linux-rt aur package :).
[rocketmouse at archlinux ~]$ yaourt -aQu git google-earth
aur/google-earth 18.104.22.1688-1 [installed: 22.214.171.1241-1] (1876)
[rocketmouse at archlinux ~]$ pacman -S git --print --print-format %v
If there isn't an update the output does look like this:
[rocketmouse at archlinux ~]$ yaourt -Qua linux-rt
aur/linux-rt 3.8.13_rt14-1 [installed] (162)
Special thanks to Gaetan for the hint to use "--print --print-format".
I haven't written a script yet, but now all the needed information is
More information about the arch-general