Migrated work from installcheck to postinstall