Install a file in different locations depending on environment

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


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?

Eran Ben-Natan | R&D Infrastructure

 [cid:sign_5ede210] <>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sign_5ede210
Type: image/png
Size: 53470 bytes
Desc: sign_5ede210
URL: <>

More information about the Rpm-list mailing list