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

Uninstallation always removes settings #114

Closed
KizzyCode opened this issue Jan 3, 2019 · 2 comments
Closed

Uninstallation always removes settings #114

KizzyCode opened this issue Jan 3, 2019 · 2 comments

Comments

@KizzyCode
Copy link

The current uninstallation always removes the settings which breaks the "uninstall old version/reinstall new version" workflow performed by Homebrew's Cask (see here or here).

Is it possible to implement a switch like -uninstall_keep_prefs to allow an uninstallation without purging the settings (like apt-get purge vs. apt-get remove)?

@KizzyCode KizzyCode changed the title Uninstallation removes settings Uninstallation always removes settings Jan 3, 2019
@objective-see
Copy link
Owner

The installer, will perform a 'partial' uninstall if it detects that LuLu is already installed - leaving the settings intact. (i.e. its an upgrade).

But yah, invoking uninstall, will, well uninstall everything!

Ideally the homebrew cask could be updated to just call install :)

@KizzyCode
Copy link
Author

KizzyCode commented Jan 23, 2019

Yeah, we discussed this and I don’t see it coming that this will change (the update-process is hard-coded as uninstall-install-step in Homebrew itself)...
In my opinion you’re right because an uninstall-install-step is a reinstallation which is sth. different than an upgrade. However if the auto-updates are fixed (#91), the formula could be marked as auto-updating which would circumvent this problem.

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

No branches or pull requests

2 participants