On Tue, Feb 17, 2009 at 11:49 AM, Xavier <[email protected]> wrote: > On Sun, Feb 15, 2009 at 3:14 PM, Kevin Barry <[email protected]> wrote: >> What about using find in /etc but also running a locate? This means >> that if a user never runs updatedb they still get pacdiff for /etc, >> but other users can get global pacdiff. >> > > Your idea appeared appealing at first, but after thinking about it a > bit, I changed my mind, I would prefer a flag as Dan suggested. > Either the locate db is up-to-date and there is no need to run find, > or it's outdated, and it's probably better to not use its results at > all because they are probably useless (missing all the new .pac* > files, and possibly displaying .pac* files that no longer exist).
Don't forget about 'locate -e' to cover half of that problem. Obviously patches are welcome for the pacdiff version we ship in contrib/. -Dan _______________________________________________ pacman-dev mailing list [email protected] http://www.archlinux.org/mailman/listinfo/pacman-dev
