mirror of
				https://gitee.com/SuperManito/LinuxMirrors
				synced 2025-11-04 08:20:28 +08:00 
			
		
		
		
	bug fix
This commit is contained in:
		@@ -2113,6 +2113,7 @@ function change_mirrors_RedHat() {
 | 
			
		||||
    ## 使用官方源
 | 
			
		||||
    if [[ "${USE_OFFICIAL_SOURCE}" == "true" ]]; then
 | 
			
		||||
        ## CentOS 停服专用
 | 
			
		||||
        cd $Dir_YumRepos
 | 
			
		||||
        if [[ "${SYSTEM_JUDGMENT}" == "${SYSTEM_CENTOS}" ]]; then
 | 
			
		||||
            sed -i "s|^#baseurl=http|baseurl=${WEB_PROTOCOL}|g" CentOS-*
 | 
			
		||||
            sed -i 's|^mirrorlist=|#mirrorlist=|g' CentOS-*
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user