database plugin modification question

2 posts / 0 new
Last post
#1 Thu, 01/29/2015 - 15:50
Jason at eROI

database plugin modification question

Hello,

If I were to modify the mysql plug-in, is there an upgrade-safe way to do it? I would not want my changes to be lost when I upgrade virtualmin...

Here is an oversimplified OS-level example: looking at ubuntu's Bind package, I can modify any files that end in ".local" because those local changes will not be altered by a package upgrade. Thus when I modify Bind, my changes will not be overwritten if I run "apt-get upgrade".

--jason

Mon, 02/09/2015 - 01:22
Joe
Joe's picture

I believe you could clone the module, and then modify the cloned version. (There is a feature for this in the Webmin->Webmin Configuration->Webmin Modules page.)

I suspect that'd be the safest way to do it; and I seem to recall it's how I used to do module modifications back before I was only making module changes that I intend to push back up into the core (that was a long time ago, so I'm not real confident of exactly what my process looked like).

--

Check out the forum guidelines!

Topic locked