SPECS (AC-branch): rpm.spec - add /etc/cron.daily/rpm -- caches
pa...
Elan Ruusamäe
glen at delfi.ee
Fri Jan 7 18:24:22 CET 2005
On Friday 07 January 2005 18:21, Elan Ruusamäe wrote:
> On Friday 07 January 2005 14:13, Paweł Żurowski wrote:
> > 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
> > +
>
> seems fair. added
or bash-completion trigger changes the value to yes?
if grep -q RPM_CRON_RPMQA_CACHE=no /etc/sysconfig/rpm; then
sed -i 's,RPM_CRON_RPMQA_CACHE=no,RPM_CRON_RPMQA_CACHE=yes,' /etc/sysconfig/rpm
fi
--
glen
More information about the pld-devel-en
mailing list