Merge pull request #639 from pkgr/pkgr

Make postinstall work for CentOS/RHEL packages as well.