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

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to