Make postinstall work for CentOS packages as well.