Comment 9 for bug 362355

Revision history for this message
Free Ekanayaka (free.ekanayaka) wrote : Re: [Bug 362355] Re: Run smart update in the package-reporter instead of having a cronjob

Okay, I've added the needed packaging modification to the branch and
tested the package on hardy (built with autoppa).

It worked fine, the only annoying thing is the reporter warning every
time about smart-update failing, because when smart is passed the
"--after 60" option it exits with status 1 if there's not yet need to
update.

This should probably be fixed in smart itself, by returning 0 in those
cases (it's not really a failure), or introducing some special exit
status code for that specific case.

I've also addressed Andreas' comment about removing the old cron
script, that is handle in the postinst.

 tag review