[solved] Wrapper for yaourt and pacman

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 :).

Tested with:

[rocketmouse@archlinux ~]$ yaourt -aQu git google-earth
extra/git 1.8.3.2-1
aur/google-earth 7.1.1.1888-1 [installed: 7.1.1.1871-1] (1876)

[rocketmouse@archlinux ~]$ pacman -S git --print --print-format %v
1.8.3.3-1

If there isn't an update the output does look like this:

[rocketmouse@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
available.

Regards,
Ralf



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux