[CentOS] Query RPM file %post section

Tronn Wærdahl tronnw at gmail.com
Sun Apr 4 12:37:33 UTC 2010

> Hi
> >
> > I have a .rpm file, in the file there is some commands in the %post
> section,
> > how can I query the rpm file so it display the commands in %post section.
> Try:
> rpm -q --scripts package_name

Thanks that did the trick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100404/9862139e/attachment.html>

More information about the CentOS mailing list