Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pre-uninstall scripts #309

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jmairboeck
Copy link
Member

This is analoguous to post-install scripts.

Defines a new recipe attribute PRE_UNINSTALL_SCRIPTS and new directory variables $preUninstallDir and $relativePreUninstallDir.

Fixes #306.

This is analoguous to post-install scripts.

Defines a new recipe attribute PRE_UNINSTALL_SCRIPTS and new directory
variables $preUninstallDir and $relativePreUninstallDir.

Fixes haikuports#306.
jmairboeck added a commit to jmairboeck/Pe that referenced this pull request Dec 30, 2024
These will be supported by HaikuPorter when haikuports/haikuporter#309 is merged.
POST_INSTALL_SCRIPTS comes before PROVIDES.
@jmairboeck
Copy link
Member Author

I added a little drive-by fix because PROVIDES and POST_INSTALL_SCRIPTS were sorted incorrectly in RecipeAttributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add support for pre-uninstall scripts
1 participant