The postInstall phase should not run postInstall itself! My mistake in renaming the old installPhase.