add postinstall rule