Files
secureblue/config/scripts/httpsmirrors.sh
2024-05-14 15:51:09 -07:00

7 lines
205 B
Bash

#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
find /usr/etc/yum.repos.d/ -name "*.repo" -type f -exec sed -i 's/metalink?/metalink?protocol=https\&/g' {} \;