<br clear="all">Hi All,<br>
        I am new to rpm and to rpm packaging. I was asked to copy a<br>
war file from one location to another. through rpm. I packaged that.<br>
So what it does is like below.<br>
1) Copy file to AUTODEPLOY folder in tomcat server<br>
2) From the AUTODEPLOY folder the tomcat server picks up the war file<br>
and explodes it in WEBAPPS folder and removes the content from<br>
AUTODEPLOY.<br>
<br>
Now if I want to REINSTALL, it should first check that whether WEBAPPS<br>
contains the exploded war file or not. If yes, then it should display<br>
that package is already installed and skip the installation, if the<br>
web apps does not contain the exploded war file then it should force<br>
the installation process.<br>
<br>
Can anyone tell me how can I do that.<br>
<br>
Thanks for your help in advance.<br>-- <br>Regards,<br>S. Fawad Ali Shah<br>Software Engineer,<br><a href="http://www.7thbillion.com">www.7thbillion.com</a><br>