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

Force dump to overwrite an existing Brewfile #299

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Force dump to overwrite an existing Brewfile #299

merged 1 commit into from
Apr 3, 2024

Conversation

mjsrs
Copy link

@mjsrs mjsrs commented Apr 2, 2024

When trying to export a Homebrew backup, I got the following error message:

Couldn't write Homebrew backup
Try again, or restart Cork

Somehow, an existing Brewfile was already present in the temporary directory, leading Brew to throw an error.
This PR adds a flag to force the dump to overwrite an existing Brewfile:
brew bundle -f dump.

Copy link
Owner

@buresdv buresdv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good addition, I had no idea the -f flag existed

@buresdv buresdv merged commit f65f4f0 into buresdv:main Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants