[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is everyone's system "apt-get -qq update"ing every day?



Joey Hess wrote:

> Adam Porter wrote:
>>        return 1
> 
>> if check_stamp $UPDATE_STAMP $UpdateInterval; then
>>    if apt-get -qq update 2>/dev/null; then
> 
>> As you can see, I haven't enabled the perodic updates in apt.conf, but
>> the check_stamp function returns true if the interval is set to 0,
> 
> In shell script, 1 is false.

Hm, ok.  Well, I guess I'll have to look for another reason.  I sometimes
find "apt-get -qq update" running from a cronjob, and I can't explain why. 
Thanks.


Reply to: