Minor cleanup for `bootstrap-common.sh` and `bootstrap-packages`

What does this merge request do and why?

Reorganizes shell code a bit for readability. Saves some time on jumping and guessing.

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.

Merge request reports

Loading