-
Notifications
You must be signed in to change notification settings - Fork 255
Uninstall script? #46
Comments
Based on a crude overview these are some of the things that an uninstall could/would theoretically do
Does the pkg install things other places that i am missing here? |
I just added a basic uninstaller to the kalastack-docker project which may be useful for this too. Let me know if you want me to submit a PR and where to put it and i will do so: |
Does this mean that OSX installers don't have a gui uninstaller? mmmm, i wonder if I should just write an uninstall apple-script GUI? |
I don't think GUI uninstallers are very common in OSX. Generally you just trash the .app and call it a day. Writing a simple apple script based uninstaller gui could certainly work as well :) |
in that case, if you beat me to a PR (not hard these days) YAY ;) |
I've got time to work on these things this week so i'll try to throw something up! |
One thing to also consider here is usually an uninstall.tool script gets packaged into a dmg. It looks like our release here is a .pkg so we would have to rejig whatever we are doing for packaging to build a dmg that includes the uninstall.tool. We could also just leave the script in the repo and note its usage in documentation. |
I'd just toss it into |
sounds good! haven't had time to do this yet but am still game. |
I need to uninstall it from one of my Mac, can't wait to try it. ;) |
For future boot2docker stop
boot2docker delete
sudo rm /usr/local/bin/boot2docker
rm -rf ~/.boot2docker
rm -rf /usr/local/share/boot2docker |
and
|
To summarize: #!/bin/bash
# Stop boot2docker processes
boot2docker stop
boot2docker delete
# Remove boot2docker executable
sudo rm /usr/local/bin/boot2docker
# Remove boot2docker ISO and socket files
rm -rf ~/.boot2docker
rm -rf /usr/local/share/boot2docker
# Remove Docker executable
sudo rm /usr/local/bin/docker I recall you were interested in a pull request @SvenDowideit. Where would you like this artifact be placed? I'm wondering if it should be a curl-able script. |
i'd put it into the osx installer... |
Thanks @huangsam ! This bothered me so much (I really hate pkg without uninstallers) I've even written a blog post about this issue (before discovering it here). Hope this gets accepted soon! |
And keys:
|
@karantir that was already covered in uninstall.sh |
Any thoughts to packaging in or providing an uninstall script?
The text was updated successfully, but these errors were encountered: