I'm planing to create a plugin called Goodbye Dolly. Once installed, it will take care for the installation to remove the auto-installing Hello Dolly (Wordpress Plugin) shipping with wordpress.
This is due to popular request. Some folks have asked for it.
I like the idea. I never cared so far because I removed it manually. But I like the idea to save the hassles and have this removal automated for the future.
I wanted to just delete the file when it exists basically. But I'm unsure a bit about file system abstraction. And I would like to do this on install / update already, so this does not needs to be checked for all the time.
So which hooks are to be considered? Any best practice ideas?