if (yumRegistryProvider.get().isRegistered(event.getGroupRepository().getId())
&& (anyOfRepositoriesHasYumRepository(event.getAddedRepositoryIds())
|| anyOfRepositoriesHasYumRepository(event.getRemovedRepositoryIds())
|| anyOfRepositoriesHasYumRepository(event.getReorderedRepositoryIds()))) {
Yum yum = yumRegistryProvider.get().get(event.getGroupRepository().getId());
if (yum instanceof YumGroup) {
((YumGroup) yum).markDirty();
}
}
}