TrigonicSolutions / gradle-rpm-plugin

Gradle plugin for constructing RPM packages.
Apache License 2.0
38 stars 19 forks source link

Allow defining empty directories #31

Open msmall-cotm opened 11 years ago

msmall-cotm commented 11 years ago

I don't believe the plugin currently allows empty directories to be specified in the RPM spec. For example, I would like the RPM on installation to create an empty directory /var/log/foo (owned by the user and group 'foo'). Is there a mechanism for doing so? If not, can this feature be added? I'm thinking something along the lines of:

empty ("/var/log/foo") {
  dirMode 0755
  user "foo"
  group "foo"
}
bburnell commented 10 years ago

Was there a response / solution for this question?