This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Quentin Fourel <quentin@fourel.eu> | |
| # Extract rpm list from rocky and centos repos to populate an sqlite database | |
| # Script executed from a rocky server with a .repo file that contain all centos repos (suffixed by "Centos-") | |
| # Database is created where you launch the script | |
| set -euo pipefail |