mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-09 08:16:00 +00:00
feat: always use https mirrors for layering
This commit is contained in:
@@ -4,4 +4,5 @@ scripts:
|
|||||||
- setfilepermissions.sh
|
- setfilepermissions.sh
|
||||||
- disablesealertpopups.sh
|
- disablesealertpopups.sh
|
||||||
- homebrewanalyticsoptout.sh
|
- homebrewanalyticsoptout.sh
|
||||||
- hardencontainerpolicy.sh
|
- hardencontainerpolicy.sh
|
||||||
|
- httpsmirrors.sh
|
||||||
8
config/scripts/httpsmirrors.sh
Normal file
8
config/scripts/httpsmirrors.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tell build process to exit if there are any errors.
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
for repo in /usr/etc/yum.repos.d/*.repo; do
|
||||||
|
sed -i 's/metalink?/metalink?protocol=https\&/g' "$repo"
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user