mirror of
				https://gitee.com/SuperManito/LinuxMirrors
				synced 2025-11-04 16:30:26 +08:00 
			
		
		
		
	优化
This commit is contained in:
		@@ -1474,10 +1474,6 @@ function remove_original_mirrors() {
 | 
			
		||||
 | 
			
		||||
    case "${SYSTEM_FACTIONS}" in
 | 
			
		||||
    "${SYSTEM_DEBIAN}" | "${SYSTEM_OPENKYLIN}")
 | 
			
		||||
        # /etc/apt/sources.list
 | 
			
		||||
        if [[ "${SYSTEM_JUDGMENT}" != "${SYSTEM_LINUX_MINT}" && -s "${File_AptSourceList}" ]]; then
 | 
			
		||||
            clear_file $File_AptSourceList
 | 
			
		||||
        fi
 | 
			
		||||
        # /etc/apt/sources.list.d
 | 
			
		||||
        [ -d "${Dir_AptAdditionalSources}" ] || mkdir -p $Dir_AptAdditionalSources
 | 
			
		||||
        # Debian DEB822 格式源文件
 | 
			
		||||
@@ -1490,6 +1486,10 @@ function remove_original_mirrors() {
 | 
			
		||||
            clear_file $File_UbuntuSources
 | 
			
		||||
            USE_DEB822_FORMAT="true"
 | 
			
		||||
        fi
 | 
			
		||||
        # /etc/apt/sources.list
 | 
			
		||||
        if [[ "${USE_DEB822_FORMAT}" != "true" && "${SYSTEM_JUDGMENT}" != "${SYSTEM_LINUX_MINT}" ]]; then
 | 
			
		||||
            [ -s "${File_AptSourceList}" ] && clear_file $File_AptSourceList
 | 
			
		||||
        fi
 | 
			
		||||
        # Armbian
 | 
			
		||||
        [ -f "${File_ArmbianRelease}" ] && clear_file $File_ArmbianSourceList
 | 
			
		||||
        # Proxmox VE
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user