From: Jamie C. <jca...@we...> - 2009-11-20 05:46:04
|
On 19/Nov/2009 21:27 David Drayton <ddr...@pu...> wrote .. > Thanks for all your help so far guys. > > I've got another one for you: What's the best way to update my own modules and > themes from a local/uploaded file? > > Update Modules in Upgrade Webmin doesn't appear to allow for updates from a local > or uploaded file. Not only that but I'm not sure if this facilitates third party > modules or only built in webmin modules. > > Webmin Modules and Webmin Themes seem to only allow Install and Delete. I'm not > sure if Install will do the trick of updating the files and removing any old ones. Yes, it will .. if you just want to upgrade a module, the Install function will do it for you. > And I'm wary of doing a Delete and then Install because I'm not sure what configurations > and settings it will wipe out (as I just want to upgrade, I want to keep all of > them). Yes, don't do a delete - that will cause any module-specific settings to be lost. > I know that when developing I can just replace the code that's already there, but > I'm changing stuff 'in production' and want to make sure that any automatic actions > that are needed are carried out (ie. copying config files). Yes, an install will replace the module code, copy any new default config directives, and run any postinstall script. - Jamie |