Re: Check for update in script

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



It can certainly be done. You can always do a "pacman -Su" later, if
you want.

The problem is that I want to check for updates in a script. 'pacman
-Sy' without upgrade can cause problems.

In your use case, you can probably specify an alternative db path
using the --dbpath switch in pacman.

That's what I wanted to do, but dbpath countains the local and upstream databases, so I thought it might cause problems.


[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