[arch-general] Check for update in script
Jakub Klinkovský
j.l.k at gmx.com
Thu Sep 11 13:10:11 EDT 2014
On 11.09.14 at 19:01, Yamakaky wrote:
> Hi
>
> I can't find a good way to check for available upgrades without touching the
> database, as running `pacman -Sy` without `u` isn't supported. Any idea ?
> Maybe a new pacman switch like "--upstreamdbpath" to toggle change the
> location of sync/ without touching local/ ?
>
> Why I need it :
> https://github.com/XavierBerger/RPi-Monitor/pull/57#issuecomment-55248969
>
> Yamakaky
pacman provides a `checkupdates` script, see /usr/bin/checkupdates for how it
works.
--
jlk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20140911/a3f2b31f/attachment.asc>
More information about the arch-general
mailing list