On Thu, May 30, 2013 at 11:28:18AM +1000, Phillip Smith wrote: > On 30 May 2013 11:18, Phillip Smith <[email protected]> wrote: > > paccache certainly doesn't appear to achieve the same goal. In the > > example below, I would expect the pkgrel -1, -3, -4 of alsa-utils and > > libassuan-2.0.3-1-x86_64.pkg.tar.xz to be removed. > > Apologies, I was misusing it. I needed the -c option. > > Still, this patch enables it to be done in one action when adding the > new package(s), and paccache could be run on a schedule to cleanup any > mishaps.
Honestly, this is when I would say to call paccache in your repo-add function. As there is no separation between pacman and pacman-contrib anymore, it doesn't need any extra deps. Then things could still be done in one step while not duplicating code and introducing possible bugs. Thanks, -- William Giokas | KaiSforza GnuPG Key: 0x73CD09CF Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF
pgp_GbPnZpmjj.pgp
Description: PGP signature
