Commit Graph

24 Commits

Author SHA1 Message Date
Darko Poljak df566f4ff8 GPLv3+ relicensing. 2016-08-10 18:15:54 +02:00
Darko Poljak f98208f250 Make man pages SEE ALSO by convention. Improve docs building. 2016-06-30 12:09:07 +02:00
Darko Poljak 51c94e9e82 Restructure and fix and improve docs and manpages. 2016-06-29 07:48:34 +02:00
Darko Poljak b89077f9a5 Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory. 2016-06-23 16:08:59 +02:00
Darko Poljak cf32b669ff Write sphinx rst docs. 2016-05-22 17:16:03 +02:00
Darko Poljak 8a079b3440 Fix spelling errors - Bogatov's patch. 2016-05-05 09:58:35 +02:00
Jonathan A. Kollasch 185d7f593a Treat NetBSD the same as FreeBSD and OpenBSD in 'stat' explorers 2015-10-15 10:22:46 -05:00
Manuel Hutter 8a70343e2c Fixed wrong mode format for stat on OSX. 2014-06-10 19:48:02 +02:00
Manuel Hutter 90acfc3952 Fixed stat on OSX 2014-06-10 19:19:26 +02:00
Daniel Heule 613d66b7a7 corrected man page and gencode update for correct messages 2014-01-09 16:09:49 +01:00
Daniel Heule afb06b729e mode and message handling now like __file type 2014-01-08 13:10:46 +01:00
Daniel Heule 3e398b233b fix compare with leading 0 on directory mode 2014-01-08 09:48:04 +01:00
Nico Schottelius a95167b374 remove quotes from mkdiropt
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-02 15:49:02 +01:00
Nico Schottelius 48923d23d8 if ... THEN ;-)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-01 18:37:08 +01:00
Steven Armstrong f5a39e5281 add gpl header
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:08:50 +01:00
Steven Armstrong 7b065e931f rewrite type to work analog to __file and __link
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:08:50 +01:00
Steven Armstrong d7984df503 make explorers executable
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:08:50 +01:00
Nico Schottelius 5152bdfce7 add hint for 0700, root:root behaviour of __directory --parents
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-03 16:49:03 +02:00
Jake Guffey a50830dca8 Use $__explorer to get os type 2013-02-19 16:31:06 -05:00
Jake Guffey 005c94556e Fix to support FreeBSD's stat(1)
Added check for OS type
Added FreeBSD syntax in case of $os=freebsd
2013-02-19 15:23:52 -05:00
Jason Staten 919707d6f9 Initialize variables to empty string
Set mode, group, etc. to an empty string to ensure that no external
environment variables can leak in.
2013-01-28 10:06:04 -07:00
Jason Staten fc1a9ed27b directory permission explorers
The group, mode, and owner are now pulled from a explorers. If the
desired value matches the existing value, then no code is executed.

If the recursive flag is set, the permissions are applied every run.
2013-01-24 22:37:52 -07:00
Jason Staten f16ac1911d Set permissions on existing directory
Previously, an existing directory would not have its permissions
modified by the __directory type. This change removes exiting early when
$state_is matches $state_should
2013-01-16 20:46:23 -07:00
Nico Schottelius 63573a9797 make package_data work
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:50:27 +01:00