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

Paweł Żurowski pzurowski at pld-linux.org
Fri Jan 7 13:13:40 CET 2005


Dnia 07-01-2005, pią o godzinie 11:21 +0100, Paweł Żurowski napisał(a):
> Dnia 07-01-2005, pią o godzinie 11:42 +0200, Elan Ruusamäe napisał(a):
> > On Friday 07 January 2005 08:36, Bartosz Taudul wrote:
> > > On Fri, Jan 07, 2005 at 03:23:50AM +0200, Elan Ruusamäe 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,
> > >
> > > So, it should be in bash-completion package.
> ++, rpm -qa would be very annoying on desktop...
> 
> > it's not only for that purpose. i use it to view what packages are installed 
> > (perhaps compare with older version, other machine)
> 
> seperated {,sub}package? sth else?

another idea:
        in /etc/sysconfig/rpm:
                +RPM_CRON_RPMQA_CACHE=no
        in /etc/cron.daily/rpm:
                +. /etc/sysconfig/rpm
                +
                +if [ ${RPM_CRON_RPMQA_CACHE:-no} != "yes" ]; then exit
                0; fi
                +

RFC

-pawel

-- 
Pawel Zurowski








More information about the pld-devel-en mailing list