mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-25 14:41:25 +00:00
Fix up vault baseurls
Fix the source repository (which are in vault.centos.org) URLs as well.
This commit is contained in:
parent
6c3453041c
commit
1abcdd13af
@ -746,6 +746,7 @@ package_swaps() {
|
|||||||
-e 's/^\[/['"$stream_prefix"'/' \
|
-e 's/^\[/['"$stream_prefix"'/' \
|
||||||
-e 's|^mirrorlist=|#mirrorlist=|g' \
|
-e 's|^mirrorlist=|#mirrorlist=|g' \
|
||||||
-e 's|^#baseurl=http://mirror.centos.org/$contentdir/$stream/|baseurl=|http://mirror.centos.org/centos/8-stream/' \
|
-e 's|^#baseurl=http://mirror.centos.org/$contentdir/$stream/|baseurl=|http://mirror.centos.org/centos/8-stream/' \
|
||||||
|
-e 's|^baseurl=http://vault.centos.org/$contentdir/$stream/|baseurl=|https://vault.centos.org/centos/8-stream/' \
|
||||||
"${repos_files[@]}"
|
"${repos_files[@]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user