Re: [webmin-devel] Delete old theme / module before installing

Martin Mewes <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Organization Agent 2.0 Beta Tester
Message-ID <[email protected]>
Hello,

Gehrigal - Webminprojects <[email protected]> wrote:

>Is there a way to delete all files of an old version of a module / theme 
>before installing the new one?

I assume you want to do this while installing a theme with webmin?

>At the moment old files will be overwritten only. How can i delete old unused 
>files?

Hmm, what about a something like "rm -f"? Not kidding.

I think you want to reach the point that prior to an installation of your
theme, you want to completely deinstall it. So if you already know where it
is installed, why don't you just do something like

	sh -c "rm -f"

or

	sh -c "rm -rf"

bis dahin - kind regards

Martin Mewes

-- 
######################################################################
http://www.webmin.com/	| Webbased Administration Tool for
http://webmin.mamemu.de/| Unixoid Systems :-)
Official Webmin/Usermin Translation Co-Ordinator 2003/2004
######################################################################



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.