-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
finch: fix uninstall script #140436
finch: fix uninstall script #140436
Conversation
@AnqiPang what is the reason for this change? |
Hi, I noticed that the uninstall script with
Because the Finch uninstall script requires root permission. The script
We have the $EUID check since v0.1.0 and it worked fine previously. I'm wondering whether something changes happened on Homebrew's end since it seems brew is not executing the uninstall script with sudo. I opened a discussion here. If it's a bug in the uninstall.sh script, I think we can use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a bug in brew
and should be fixed there instead.
@AnqiPang, what is the output of brew config
and brew doctor
on the machine where you had issues with uninstalling?
|
CC @Rylan12 |
Thanks. Can you try to do
and then see if uninstalling without this change works? |
It works! Thank you. Does that mean we have to set
|
For now, yes. But this is a bug that definitely needs fixing, so you shouldn't have to have this set permanently. |
Should we close this PR since brew is going to fix it? |
@AnqiPang this bug should now be fixed. You should no longer need to set |
Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.
In the following questions
<cask>
is the token of the cask you're submitting.After making all changes to a cask, verify:
brew audit --cask --online <cask>
is error-free.brew style --fix <cask>
reports no offenses.Additionally, if adding a new cask:
brew audit --new-cask <cask>
worked successfully.brew install --cask <cask>
worked successfully.brew uninstall --cask <cask>
worked successfully.