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. Tronn -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100404/c52dcc7e/attachment-0003.html>
On Sun, Apr 4, 2010 at 6:59 AM, Tronn W?rdahl <tronnw at gmail.com> wrote:> 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