mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-02 19:38:10 +00:00
fix: reference repos in /etc instead of /usr/etc
This commit is contained in:
@@ -3,4 +3,6 @@
|
||||
# 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' {} \;
|
||||
for repo in /etc/yum.repos.d/*.repo; do
|
||||
sed -i 's/metalink?/metalink?protocol=https\&/g' "$repo"
|
||||
done
|
||||
Reference in New Issue
Block a user