Get the list of files packaged in an rpm in the after install script

14 views
Skip to first unread message

Nithin Manmohan

unread,
Sep 28, 2016, 6:05:29 AM9/28/16
to fpm-users
Hi,

I have a post install script which runs a wlst script for deploying applications to the weblogic server. The thing is that there are 5 artifacts, 4 are shared libraries and one is a EAR file packaged into an rpm. Sometimes it is just shared libraries and sometimes it is shared libraries and EAR in the rpm. So depending on the archive name or the extension, the archive should be deployed as a shared library or an application. 

So my question is how to get all the names and/or extension of the files packaged in the rpm from the after-install script so that i can pass the same to the wlst script which in turn handles the deployment.

Thanks

Reply all
Reply to author
Forward
0 new messages