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

Remove files on uninstall #1

Open
wearhere opened this issue Nov 13, 2016 · 0 comments
Open

Remove files on uninstall #1

wearhere opened this issue Nov 13, 2016 · 0 comments

Comments

@wearhere
Copy link
Contributor

Using the example as reference, if my-ebextensions is uninstalled and the user hasn't customized my-ebextensions' files (not that they should have), my-ebextensions should take its files with it.

This would probably look something like adding an --uninstall flag to install-files, and then putting "uninstall": "install-files --uninstall source" in my-ebextensions' scripts stanza. install-files --uninstall source would compare every file in source to the corresponding file in my-ebextensions' (former) parent package and remove each file that was the same i.e. had not been edited by the user.

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

No branches or pull requests

1 participant