Skip to content
Snippets Groups Projects
Select Git revision
  • 753e43b9c5ba1533589233d5b9e917cf19ce9cd5
  • master default protected
  • spahan-merge
  • spahan
  • v1.8-rc1
  • v1.7
  • v1.6.3
  • v1.6.2
  • v1.6.1
  • v1.6
  • v1.5.1
  • v1.5
  • v1.4a
  • v1.3
  • v1.2
  • v1.1
  • v1.0
17 results

chkcrontab

Kevin Lyda's avatar
Kevin Lyda authored
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.
753e43b9
History
Name Last commit Last update