Install a file in different locations depending on environment

Eran Ben Natan eranb at celltick.com
Thu Jan 2 07:14:54 UTC 2014


Hi,

I want to create an RPM that installs some .war file in a web server deploy directory.
My problem is that on the target server there can be a Jboss or Tomcat, and for each the directory where I should put the war file in different.
Is there a way to do this, without coping the file in the %post?

Thanks,
Eran Ben-Natan | R&D Infrastructure


 [cid:sign_5ede210] <https://play.google.com/store/apps/details?id=com.celltick.lockscreen.theme.Christmas>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20140102/ea9ca02f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sign_5ede210
Type: image/png
Size: 53470 bytes
Desc: sign_5ede210
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20140102/ea9ca02f/attachment-0001.png>


More information about the Rpm-list mailing list