-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
uninstall.sh: prevent deleting none related homebrew files #923
Conversation
I don't think we want to add special handling for tools that install in the homebrew prefix. Especially since it's the legacy prefix. But I'll leave this open for the opinions of others. |
Thanks, let me explain it a bit more the folder is from the GPG Suite |
I agree
Homebrew doesn't own
@pheiduck: do you happen to have any logs? Without logs it's hard to tell what the issue is: why Homebrew prompted you to remove files in I too have GPG Suite installed, but Homebrew uninstaller doesn't prompt me to remove it: |
|
Ok, so you've got x86_64 Mac and that's the reason your prefix is |
It happen in this Part of the Script:
|
add an one liner like: |
Sorry, excluding just one of the potentially infinite number of possible directories that can be created by other software under @Homebrew/maintainers, thinking out loud: should |
I uninstalled homebrew because of an problem. Uninstaller prompted my to delete: /usr/local/MacGPG2/ which isn't a Homebrew related file so skip it to be shown on none deleted dirs and files by the script.
🤷 The current wording of
and
seems fine to me. |
okay, I close it now. |
I don't think it should and if HOMEBREW_PREFIX == /usr/local, then don't clean up the folder. |
It's a very common install prefix, so any residual files found here are likely false positives. Followup to Homebrew#923.
I uninstalled homebrew because of a problem.
Uninstaller prompted me to delete:
/usr/local/MacGPG2/
which isn't a Homebrew related file so skip it to be shown on none deleted directories and files by the script.