How to prevent overwrite a custom administration controller.php?

Hi folks!

I have 2 packages that write one same file.
The first package I made some days ago and is installed now.
The second package is a plugin that some company made.
So, When I installed the second package, I didn't prevent the latests package overwrite of my controller.php in the Administration module.

I think the first resolution is to retrieve the custom folder before install, and adapt the plugin in this file and after compress and install.
But when the customer will install a new version of the plugin the issue will present again. Therefore this is not a good solution.

I need some tips to resolve this issue.


Parents Reply Children