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

Re: Not just a dpkg/run-parts problem



On Sat, Nov 16, 2002 at 11:51:02AM +0100, Andreas Metzler wrote:
> LSB specifies /etc/cron.{d,daily,weekly}/ but has different ideas what
> filenames are valid. run-parts simply ignores anything not matching
> '^[A-Za-z0-9_-]*$', but LSB uses periods in the filenames. (e.g
> debian.org-exim), so we have to change the regex. We want to ignore
> *~, *.dpkg-* *.orig, ...

add "/\.(bak|old|\d{4}.?\d{2}.?\d{2})/i" to that (the last one matches
YYYY-MM-DD or YYYYMMDD, which i use regularly when making a backup copy
of a file before editing it).

craig

-- 
craig sanders <cas@taz.net.au>

Fabricati Diem, PVNC.
 -- motto of the Ankh-Morpork City Watch



Reply to: