Patch file after pouring bottle #4573
Answered
by
carlocab
mahrud
asked this question in
Writing Formulae/Casks
-
Description of issueIs there an option or segment of a formula that would be executed after a bottle is poured? In this case creating a new bottle takes in the order of hours, and besides I can't currently rebuild bottles for M1 machines (the formula is on an independent tap). Since the file that needs to be patched is a static file, I was hoping I could add a section to the formula that applies a patch after the (unpatched) bottle is poured. I'm happy with a kludge-y, temporary workaround for the time being until I rebuild the bottles. |
Beta Was this translation helpful? Give feedback.
Answered by
carlocab
Jun 15, 2023
Replies: 1 comment 2 replies
-
Yes. Use a |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
mahrud
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. Use a
post_install
method.