[CentOS] Query RPM file %post section

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

> 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

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