SPECS (AC-branch): rpm.spec - add /etc/cron.daily/rpm -- caches pa...

Elan Ruusamäe glen at delfi.ee
Fri Jan 7 02:23:50 CET 2005


On Friday 07 January 2005 03:20, glen wrote:
> Author: glen                         Date: Fri Jan  7 01:20:57 2005 GMT
> Module: SPECS                         Tag: AC-branch
> ---- Log message:
> - add /etc/cron.daily/rpm -- caches package names to /var/log/rpmpkgs
i'll answer it here before you're able to ask question why :)

it's for folks using bash-completion, it prefers cached package list 
from /var/log if rpmdb hasn't been updated since the cache file was created

see (after having bash-completion installed):
$ type _rpm | less
$ type _rpm_installed_packages | less


-- 
glen




More information about the pld-devel-en mailing list