keep empty directories, which will be populated when you first run the program #2384
Answered
by
carlocab
geeohgeegeeoh
asked this question in
Writing Formulae/Casks
-
How do I stop my attempt at a .rb formula from deleting empty directories but still appear empty, while being "valid" for mapping the link farm? I did |
Beta Was this translation helpful? Give feedback.
Answered by
carlocab
Nov 1, 2021
Replies: 1 comment 3 replies
-
Try pointing the formula to (var/"db"/name).mkpath in |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
geeohgeegeeoh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try pointing the formula to
var/"db"/name
instead ofprefix/"var/db"/name
(if your formula has aconfigure
script this is usually an option like--localstatedir
or similar), and then doin
post_install
.