mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-10 16:56:07 +00:00
fix: mirror script
This commit is contained in:
@@ -3,6 +3,4 @@
|
|||||||
# Tell build process to exit if there are any errors.
|
# Tell build process to exit if there are any errors.
|
||||||
set -oue pipefail
|
set -oue pipefail
|
||||||
|
|
||||||
for repo in /usr/etc/yum.repos.d/*.repo; do
|
find /usr/etc/yum.repos.d/ -name "*.repo" -type f -exec sed -i 's/metalink?/metalink?protocol=https\&/g' {} \;
|
||||||
sed -i 's/metalink?/metalink?protocol=https\&/g' "$repo"
|
|
||||||
done
|
|
||||||
|
|||||||
Reference in New Issue
Block a user