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.
Using the example as reference, if
my-ebextensions
is uninstalled and the user hasn't customizedmy-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 toinstall-files
, and then putting"uninstall": "install-files --uninstall source"
inmy-ebextensions
'scripts
stanza.install-files --uninstall source
would compare every file insource
to the corresponding file inmy-ebextensions
' (former) parent package and remove each file that was the same i.e. had not been edited by the user.