How to detect if the rpm package installatio开发者_Python百科n's post install section code failed ?
I've got bunch of rpm packages and want to find the packages that have failed in post install section. Post install means, the bash script in post section of spec file.
The rpm database doesn't store the exit status of the scripts. The only way to know if it failed is at install time, the rpm
command exits with the status of the scripts it ran.
精彩评论