Skip to content

Fish .pkg installer does not clean up old installations #2963

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

Closed
floam opened this issue Apr 21, 2016 · 2 comments
Closed

Fish .pkg installer does not clean up old installations #2963

floam opened this issue Apr 21, 2016 · 2 comments
Assignees
Labels
bug Something that's not working as intended packaging
Milestone

Comments

@floam
Copy link
Member

floam commented Apr 21, 2016

Installing fish over an existing installation of fish on OS X gives no indication to the user that they may be messing up an existing installation (perhaps from homebrew) and give them the ability to bail.

Also, even if the the last version was installed with our installer, a new version blasts whatever it has onto / without cleaning up after the old installation. There is no uninstall option if you relaunch the .pkg installer.

The OS X package system isn't providing any obstacles here, the receipts are in place and OS X knows what files we own, but the installer doesn't have any scripts it runs to check anything. It may be wiser to simply point a user at Homebrew than provide an iffy installer.

@faho faho added bug Something that's not working as intended packaging labels Apr 21, 2016
@zanchey zanchey added this to the fish-future milestone Apr 21, 2016
@floam floam modified the milestones: fish-future, fish 3.4.0 Jan 21, 2022
@floam floam self-assigned this Jan 21, 2022
@floam floam closed this as completed in 0d5651b Jan 21, 2022
@floam
Copy link
Member Author

floam commented Jan 21, 2022

Marked fixed, the .pkg installer now deletes files owned by the installer before extracting. It's not doing anything about detecting an installation from some other source it might collide with, homebrew for example, but a few years ago homebrew started defaulting to installing to /opt so it's not such a likely thing anymore.

@zanchey
Copy link
Member

zanchey commented Jan 22, 2022

homebrew started defaulting to installing to /opt

Only on Apple Silicon

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something that's not working as intended packaging
Projects
None yet
Development

No branches or pull requests

3 participants