Fix success action of postinstall event