This is more a topic for Jackrabbit than for Sling. It is already tracked in https://issues.apache.org/jira/plugins/servlet/mobile#issue/JCRVLT-195 but not yet implemented. Maybe you want to come up with a PR for that?
Konrad > Am 27.01.2023 um 09:56 schrieb Roy Teeuwen <r...@teeuwen.be>: > > Hey, > > We are using an install hook to trigger a migration of some sort after the > content package is installed. We have one specific issue with this, namely > that if have a fresh environment, the installhook main class might not be > available yet. Is there a way we can easily fix this? > > The content package: > > - all > - package-with-bundle > - package-with-install-hook > > We can set the dependency of package-with-install-hook on the > package-with-bundle, but it's not because the package-with-bundle is > installed first, that the bundle contained in the package is already started > up. So instead of setting a dependency on a package being installed, I'd like > to set a dependency on a bundle being active. Is there any way to achieve > this? > > Greets, > Roy > >