Skip to content
Commit 753e43b9 authored by Kevin Lyda's avatar Kevin Lyda 💬
Browse files

Merge pull request #3 from overplumbum/master

Accept filenames used in Debian packaging.

According to the Debian packaging guides, files named debian/foo.cron.d will be installed as /etc/cron.d/foo. Files named debian/cron.d are also allowed - the cron.d file is given the package name in /etc/cron.d. For more info: http://www.debian.org/doc/manuals/maint-guide/dother.en.html#crond

In order to check these files during the packaging phase, files matching (\S+\.)?cron.d must be allowed.

At a later point it is probably a good idea to have these filename extensions enabled by flags. As the comment preceding the code alludes to, some names that run-parts would not accept are already allowed for another file deployment system.

I'll do that later after I review some other packaging system docs.
parents e91e1215 f8c4b246
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment