regen.sh - Preserve the default component-extensions
authorTim Otten <totten@civicrm.org>
Fri, 9 Jun 2023 21:42:23 +0000 (14:42 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 9 Jun 2023 21:53:54 +0000 (14:53 -0700)
commit5d053fd9b9e9efbbeb1a4705e7de7bd7acfdae65
treec319ef66d385976a8219e4325dfcf2b1fab2f1f0
parent9640b86f59daf80991989f0848e02c01ead202d7
regen.sh - Preserve the default component-extensions

The issue is that `civicrm_setting[enable_components]` and
`civicrm_extension` need to be sync'd (as of 5.63+).

But there's a structural asymmetry - when dealing with an empty/default
arrangement, "settings"/"components" will inherit a default activation-list;
but "extensions" start with an empty activation-list.

With this patch, we retain the local-active list of component-extensions.
Hopefully, that matches the default setting...
bin/regen.sh