Package: anacron
Version: 2.3-11
Severity: normal

I found this while grepping the archive for something else:

   db_subst anacron/jobs_in_crontab JOBS "grep -E 
'^(([[:digit:]]+|\*)[[:space:]]+){5}\w+[[:space:]]+(/usr/sbin/)?anacron' 
/etc/crontab" || true

That substitutes the literal string "grep -E ..." into that debconf
template. Shouldn't that be "$(...)" instead, to substitute the output
of that command?

Also, multi-line SUBSTs are forbidden, so in case more than one job
matches you might like to use debconf's new escape capability. See the
changelog entry for debconf 1.4.72 and search for 'escape' in
debconf-devel(7) for more details.

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to