Closed chqr closed 10 years ago
Good idea! I'll look into this.
I just committed a patch for this. Are you able to test this and see if it works for you? Thank you!
class P < FPM::Cookery::Recipe
# ...
directories '/var/lib/foo', '/var/cache/foo'
end
This definitely works for me. Thanks!
Great, thank you!
Hello,
Is there any way to specify fpm's --rpm-auto-add-directories (or even just --directories) option from a recipe?
For now, I have been using post-uninstall scripts to clean up empty dirs, but it would be nice if there were a simpler solution.
Thanks!