Merge pull request #638 from pkgr/pkgr

Fix packages generated on packager.io
Make postinstall work for CentOS/RHEL packages as well.